Thursday, December 2, 2010

Custom helper in PagesController

Hi all,

I have a custom helper and like to use it in Pages Controller.

I copied pages_controller.php to my app and have this line in it:

var $helpers = array('Html', 'Session', 'Fxpage');

However, the output of the pages stops at the call to any $this-
>Fxpage in the layout file. It just seems as if Pages can't see my
helper.

I have been stuck at this for hours now. Any advice is greatly
appreciated.

Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: