Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't have page in site tree wit h dashboard url segment. #61

Closed
mediabeastnz opened this issue Jul 3, 2015 · 4 comments
Closed

can't have page in site tree wit h dashboard url segment. #61

mediabeastnz opened this issue Jul 3, 2015 · 4 comments

Comments

@mediabeastnz
Copy link

You can't have page in site tree wit h dashboard url segment as it just redirects to the admin dashboard instead of the page.

Be great if this was editable, i need a dashboard for both frontend and admin.

@unclecheese
Copy link
Owner

The url segment for the dashboard is admin/dashboard. Do you have a page named "admin/dashboard"??

@mediabeastnz
Copy link
Author

No just an account page from SS shop that was renamed to Dashboard. So the url-segment ended up being "dashboard".

I then attach a couple routes for extra features on the dashboard for example:

Director:
  rules:
   'dashboard/memberships//$Action/$ID/$Name':    'MembershipProduct_Controller'

@unclecheese
Copy link
Owner

I just tested your code and I wasn't able to replicate the problem. The Dashboard is off the admin/ url base, so there's no reason why a controller on dashboard/ should be in conflict.

In any case, Dashboard is just a LeftAndMain controller, so the url_segment is just a config setting.

Dashboard:
  url_segment: whatever

@mediabeastnz
Copy link
Author

Hmm weird, must be something else in my configuration...

Thanks for your help anyway! Appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants