hello,
i'm trying to use this class to be able to use theme with cake but i
really dont know how to do.
i've created :
webroot/themed/foobar/layouts
webroot/themed/foobar/elements
put default.php in layout directory
and in the app_controller did
public $theme = PT_DEFAULT_THEME;
class AppController extends Controller {
public $theme = PT_DEFAULT_THEME;
public function __construct() {
parent::__construct();
}
}
ps : PT_DEFAULT_THEME is set in bootstrap.php.
Any tips ?
kind regards.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---