Re: How to get admin home page?
In other word,
What does make something like redirect('controller'=>'pages',
'action'=>'display') perform redirection to missing action
"admin_display"?
On Jun 12, 12:03 am, saidbakr <said....@gmail.com> wrote:
> Hi,
> Admin actions "admin_actionname()" works fine something like this:
>
> http://thesite.com/admin/contros/actionname
>
> What I need is to set another page to work as admin home to be
> http://thesite.com/admin/
>
> I manged this from pages controller by setting an action called admin
> and set route to it, but this solution makes some trouble with
> redirects from admin actions to another non admin action using $this->redirect('controller'=>'contNames', 'action'=>'actionname') because
>
> it redirect it pages controller but the action is admin_action where
> it is not found.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home