Re: Separate admin and client views

2009-07-13 Thread NegoBlack®

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  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®
> wrote:
>
>
>
> > Try this...http://book.cakephp.org/view/488/Themes
>
> > On Jul 14, 2:37 am, CMNAJS  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 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
-~--~~~~--~~--~--~---



Re: Separate admin and client views

2009-07-13 Thread M Naveed Akram
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®
wrote:

>
> Try this... http://book.cakephp.org/view/488/Themes
>
> On Jul 14, 2:37 am, CMNAJS  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 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
-~--~~~~--~~--~--~---



Re: Separate admin and client views

2009-07-13 Thread NegoBlack®

Try this... http://book.cakephp.org/view/488/Themes

On Jul 14, 2:37 am, CMNAJS  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 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
-~--~~~~--~~--~--~---



Separate admin and client views

2009-07-13 Thread CMNAJS

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 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
-~--~~~~--~~--~--~---