Re: adding css from helper

2009-04-21 Thread Ernesto
Thanks for the hint. i missed that doc On 20 Apr, 18:35, brian bally.z...@gmail.com wrote: Also, make sure that Html and Javascript are included in your helper's $helpers array. On Mon, Apr 20, 2009 at 10:07 AM, fain182 fain...@gmail.com wrote: When using $html-css() or

adding css from helper

2009-04-20 Thread Ernesto
Hello. is there any way to add css links from an helper function? --~--~-~--~~~---~--~~ 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

Re: adding css from helper

2009-04-20 Thread fain182
When using $html-css() or $javascript-link() in view files, specify 'false' for the 'in-line' argument to place the html source in $scripts_for_layout. (See API for more details on usage). http://book.cakephp.org/view/96/Layouts --~--~-~--~~~---~--~~ You received

Re: adding css from helper

2009-04-20 Thread brian
Also, make sure that Html and Javascript are included in your helper's $helpers array. On Mon, Apr 20, 2009 at 10:07 AM, fain182 fain...@gmail.com wrote: When using $html-css() or $javascript-link() in view files, specify 'false' for the 'in-line' argument to place the html source in