it seems we also need to have this directory tree app/view/themed/themeA/view1 app/view/themed/themeA/view2
app/view/themed/themeB/view1 app/view/themed/themeB/view2 plus webroot/themed/themeA/ webroot/themed/themeB/ On 27 nov, 10:00, foxmask <[EMAIL PROTECTED]> wrote: > i made others tests. > var $theme = 'Theme'; in the controller ; call effectivly the > ThemeView class. > > i debug the ThemView class to understand how its working > function __construct (&$controller) { > parent::__construct($controller); > > $this->theme =& $controller->theme; > > echo "<pre>my theme ".$this->theme."</pre>"; > > if (!empty($this->theme)) { > if (is_dir(WWW_ROOT . 'themed' . DS . $this->theme)) { > $this->themeWeb = 'themed/'. $this->theme .'/'; > echo "<pre>my themeWeb ".$this->themeWeb."</pre>"; > } > $this->themeElement = 'themed'. DS . $this->theme . > DS .'elements'. DS; > $this->themeLayout = 'themed'. DS . $this->theme . > DS .'layouts'. DS; > $this->themePath = 'themed'. DS . $this->theme . DS; > > echo "<pre>".$this->themeElement . " " . $this->themeLayout . " " > . $this->themePath . "</pre>"; > > } > } > > i enter in the __construct method all is well define and set > but the files i put in the elements and layouts are not used. > > do i miss somthing else ? > Kind Regards. > > On 27 nov, 08:54, foxmask <[EMAIL PROTECTED]> wrote: > > > Hi, > > i already tried it, and also, as suggest in another thread, copying > > from cake/view/theme.php in the myapp/view directory > > that does not solve the issue. > > may be the theme management is not ready yet . > > Kind Regards. > > > On 27 nov, 02:48, Gwoo <[EMAIL PROTECTED]> wrote: > > > > try setting var $view = 'Theme'; --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---