in 2.0 cakphp this changes are forgot to say that which version i use

2011/11/16 Davor Ilic <[email protected]>

> Ok i worked now some tests out because in ckaphp they had some changes in
> "upper-case letters" and i have when you see it in my AppController.php
> defined $this->theme ='sm' also my folder is named in "lower case" what
> cakephp don´t understand if i name it in upper-case letters it understand
> it:
>
> $this->theme='SM' than you have to change your folder also to upper-case
> letter
>
>
> 2011/11/16 Davor Ilic <[email protected]>
>
>> ok but it won´t work for some reasons i do that like it is in the book
>> but it´s not working. it´s also the same for cakephp 2.0
>> http://book.cakephp.org/2.0/en/views/themes.html don´t know what i do
>> wrong i do not see my issue...
>>
>>
>>
>> 2011/11/16 Davor Ilic <[email protected]>
>>
>>> sry i forgot i do that in my appcontroller like this
>>> http://bin.cakephp.org/view/1796659651
>>>
>>>
>>> 2011/11/16 Mike Karthauser <[email protected]>
>>>
>>>>
>>>> On 16 Nov 2011, at 20:34, Davor Ilic wrote:
>>>>
>>>> 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?
>>>>
>>>>
>>>> where are you specifying which theme you are using?
>>>>
>>>> you will need to place
>>>>
>>>> var $theme = 'example';
>>>>
>>>> in your controllers or within app_controller if its for all controllers
>>>>
>>>> http://book.cakephp.org/view/1093/Themes
>>>>
>>>> ....................................
>>>> Mike Karthäuser
>>>> Director, Brightstorm Ltd.
>>>>
>>>> 1, Brewery Court
>>>> North Street
>>>> Bristol
>>>> BS3 1JS
>>>>
>>>> [email protected] <[email protected]>
>>>> www.brightstorm.co.uk
>>>> +44(0) 7939252144
>>>> ....................................
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  --
>>>> 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
>>>>
>>>
>>>
>>
>

-- 
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

Reply via email to