load a CSS file if DEBUG 0
Hello. i've coded a simple css file that helps me display the Cake's SQL log. this css needs to be loaded only when debug 0. how can i do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: load a CSS file if DEBUG 0
Hi, i do: if( Configure::read('debug')0) echo $html-css('debug'); else ''; in my layouts head. greets Andreas Ernesto schrieb: Hello. i've coded a simple css file that helps me display the Cake's SQL log. this css needs to be loaded only when debug 0. how can i do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: load a CSS file if DEBUG 0
same way i'm using. what about load this css from App_Controller? On 13 Lug, 10:15, Andreas Derksen andreasderk...@arcor.de wrote: Hi, i do: if( Configure::read('debug')0) echo $html-css('debug'); else ''; in my layouts head. greets Andreas Ernesto schrieb: Hello. i've coded a simple css file that helps me display the Cake's SQL log. this css needs to be loaded only when debug 0. how can i do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: load a CSS file if DEBUG 0
hi, what would be the point of doing so? besides, i think view things belong to the view part of mvc :) greets Andreas Ernesto schrieb: same way i'm using. what about load this css from App_Controller? On 13 Lug, 10:15, Andreas Derksen andreasderk...@arcor.de wrote: Hi, i do: if( Configure::read('debug')0) echo $html-css('debug'); else ''; in my layouts head. greets Andreas Ernesto schrieb: Hello. i've coded a simple css file that helps me display the Cake's SQL log. this css needs to be loaded only when debug 0. how can i do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: load a CSS file if DEBUG 0
y u're right. thx for help. On 13 Lug, 11:15, Andreas Derksen andreasderk...@arcor.de wrote: hi, what would be the point of doing so? besides, i think view things belong to the view part of mvc :) greets Andreas Ernesto schrieb: same way i'm using. what about load this css from App_Controller? On 13 Lug, 10:15, Andreas Derksen andreasderk...@arcor.de wrote: Hi, i do: if( Configure::read('debug')0) echo $html-css('debug'); else ''; in my layouts head. greets Andreas Ernesto schrieb: Hello. i've coded a simple css file that helps me display the Cake's SQL log. this css needs to be loaded only when debug 0. how can i do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---