http://www.jamesfairhurst.co.uk/posts/view/creating_an_admin_section_with_cakephp_updated

2010/7/16 Davor Ilic <webfa...@gmail.com>

> hmmm don´t understand it well, because:
>
> if i set this prefixes in core why i will using then the index() method
> "and" the clients_index?
>
> Also for auth i set it in the app controller and it ask me every time to
> login regardless of whether i´m in the admin section or the frontend where
> i only want to output the content from db.
>
> Mybe i can change something in this auth controller to to only use it in
> the admin section where the methods only called with the prefix "admin_"...
>
>
>
>
> 2010/7/16 Sam Sherlock <sam.sherl...@gmail.com>
>
> Configure admin and clients as prefixes in core.php
>>
>> then in clients controller
>>
>> admin_index()
>> clients_index()
>> index()
>>
>>  - S
>>
>>
>>
>>
>> On 16 July 2010 00:11, Davor Ilic <webfa...@gmail.com> wrote:
>>
>>> My problem is i use now my own backend which i wrote it with cakephp but
>>> how i can use now the same controllers for my frontend not the same as
>>> backend methods but the same controller ? example:
>>>
>>> i have an Controller: ClientsController in which an: admin_index() and
>>> index() but can´t use index() without asking mie to authentifacting me...
>>> how to solve this to see the frontend
>>>
>>>
>>>  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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>>  more options, visit this group at
>>> http://groups.google.com/group/cake-php?hl=en
>>>
>>
>>  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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>>  more options, visit this group at
>> http://groups.google.com/group/cake-php?hl=en
>>
>
>  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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to