Re: Adding helper in layout

2007-10-16 Thread dijaplus

Try var $helper = array('CssMenu') as cakephp conventions


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Adding helper in layout

2007-10-03 Thread firdzak

Hi
How to add helper in layout

example, i have a default layout and i want to set a drop down menu at
the menu div.
i have to get a helper in my app/helpers/css_menu to run a function
the maual says that we have to get our helper in array.
but it still dotn wotk for me when i include var $helper = array
('css_menu');
can some one help me..


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---