On 11/12/06, Eric <[EMAIL PROTECTED]> wrote: > BUT, I dont know how to relate the theme and just use it. > > Can U explain it futhure more ?
Take a look at the code of ThemeView at https://cakeforge.org/plugins/scmsvn/viewcvs.php/trunk/cheesecake/views/theme.php?rev=218&root=cheesecake&view=markup Specially line $this->theme =& $controller->theme; This is what is needed - In cheesecake we set this via the $controller->theme which in turn is set in the appInit component. If this feels complicated then $this->theme = "yourthemename" ; Hard coded will also work - so it is up to your code as to how it sets the value of $this->theme in ThemeView and it will work Cheers Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---