no need to use different directories :-) Check out 'admin routing' in the docs: http://book.cakephp.org/view/544/Prefix-Routing
This enables you to make special views for your administrators. For example, the views for a post controller would look like: app/views/posts/ admin_add.ctp admin_edit.ctp view.ctp index.ctp If you wanted an edit view for non-admins it would be called: edit.ctp On Jul 15, 6:44 am, shahgeb <[email protected]> wrote: > Hy i am new to cakephp. I want to maintain different directories for > admin view and client view, meanwhile i want to make themeable as > well. > > any idea from seniors ??????????????????????????????????? > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
