Yes... You can create subfolders inside the view path like this:

-- app
---- views
-------- users
------------ login.ctp
------------ register.ctp
-------- themed
------------ admin
---------------- users
-------------------- admin_index.ctp
-------------------- admin_view.ctp
-------------------- ...
---------------- groups
-------------------- admin_index.ctp
-------------------- admin_view.ctp
-------------------- ...

where admin is your current theme that must be set in your controller
like this:

...

var $view = "Theme";
var $theme = "admin";

...

On 14 jul, 03:00, M Naveed Akram <[email protected]> wrote:
> thanks.. but that helps in making themable .. but i want to separate admin
> routed function views in separate admin directory
>
> On Tue, Jul 14, 2009 at 10:54 AM, NegoBlack®
> <[email protected]>wrote:
>
>
>
> > Try this...http://book.cakephp.org/view/488/Themes
>
> > On Jul 14, 2:37 am, CMNAJS <[email protected]> wrote:
> > > i want to maintain two different directories for admin and client
> > > views. and want to make it themeable as well. .. any idea.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to