Hi ,
i use $this->Html->css('style.css') in my Themed folder. The structure look
like this:
app/View/Themed/sm
/Layouts
/Elements
/webroot
in elements i´ve split up into header.ctp, body.ctp,footer.ctp , etc.
In the header.ctp i use the $this->Html->css('style.css') to call my
stylesheet but it calls the wrang one it calls the stylesheet from
app/webroot/css
it gives me everytime "/css/style.css" an not this
"/theme/sm/css/style.css" how i need it.
this is my app/View/Themed/sm/Elements/header.ctp:
http://pastebin.com/PtgShyk7
this is my app/View/Themed/sm/Layouts/default.ctp:
http://pastebin.com/ZXNnmBsK
did i do domething wrong by using it?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php