Reputation: 970
What I did
I wrote this code in a index.ctp $this->Html->css('default')
located at
/Views/Themed/{THEME NAME}/layout/index.ctp
the code tries to access a default.css located at
/Views/Themed/{THEME NAME}/webroot/css/default.css
What happened
When the page index.ctp is rendered the translation for $this->Html->css('default')
is
/cakePHP/css/default.css
What I expected to happen
but it has to be
/cakePHP/theme/{THEME NAME}/css/default.css
The above problem occurred in LAMP
Upvotes: 0
Views: 559
Reputation: 17967
are you telling cake to use your theme?
// controller
public $theme = 'theme_name';
//action
$this->theme = 'theme_name';
Upvotes: 1