Thursday, March 29, 2012

Re: MenuBuilder doesn't work with cakephp 2.0 (or 2.1)

Thomas

Can you go through how you got it working? I'm beating my head against
a brick wall trying to get this to work on 2.1.x!

On Mar 12, 2:59 pm, Thomas <goo...@ellis-events.com> wrote:
> Finally got it to work... What was missing?
>
> Did not know that I have to add "Form" and "Html" Helpers to the $helpers
> array like this:
>
>         var $helpers = array('Forms', 'Html', 'MenuBuilder.MenuBuilder');
>
> After reading the documentation several times I finally found this small
> sentence:
>
>     "Remember to include the default Html and Form helpers"
>
> Too bad this important piece of information was not more obvious (eg. big
> red letters :-)
>
> Am Donnerstag, 8. März 2012 23:38:13 UTC+1 schrieb Rob:
>
>
>
>
>
>
>
>
>
> > You should drop the entire MenuBuilder directory structure into the Plugin
> > directory. That means that the path for the helper class will end up being
> > app/Plugin/MenuBuilder/View/Helper/MenuBuilderHelper.php.
> > Plugins do have to be loaded in your bootstrap file. See
> >http://book.cakephp.org/2.0/en/plugins.html

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

No comments: