-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error when Cakes admin routing #13
Comments
So when admin route is changed the prefix param is not set and the action loses the admin_ part eg admin_index becomes index I can fix it to make admin work but at the expense of everything else (nothing else is displayed - content encoding error) I was working on the assumption that I could set these missing items in the params array but this causes issues |
(isset($this->params['prefix']) && $this->params['prefix'] == 'admin') or isset($this->params['admin']); So digging around and testing old code I can log in and view dashboard - but nav links are borked - and items links though correct are not finding admin_* views due to rename of admin routing |
partial success with the following (dashboard loads) -- it was possible to get admin working but it would load the default layout inplace of admin_layout (but I can seem to recall what I had to enable this) in routes
in app_controller code
|
When changing admin prefix in config/core.php admin does not user the admin prefixed actions & view
http://forums.wf.klevo.sk/comments.php?DiscussionID=147&page=1#Item_0
The text was updated successfully, but these errors were encountered: