Friday, March 2, 2012

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

The 2.0 branch on github does in fact work with 2.1 RC.  The correct location for the files is app/Plugin/MenuBuilder.  It looks like your problem is how you're adding it to the helpers array.  The key should be "MenuBuilder.MenuBuilder", which tells Cake to look in a plugin called MenuBuilder for a helper also called MenuBuilder.

- Rob

On Monday, February 27, 2012 5:11:49 AM UTC-5, Thomas wrote:
I think he is talking about https://github.com/torifat/cake-menu_builder

I'm also trying to get this working with 2.1, but keep getting
different kinds of errors, depending on where I put the menu builder
php file

Seems like the author was working on a 2.0 compatible build (there is
a 2.0 branch on github), but last activity is 2 months ago.

This consist of a MenuBuilderHelper.php

When I put this under app/view/helper, I get "plugin not found"
When I put it under app/plugin/menuBuilder, I get "Helper class
MenuBuilderHelper could not be found."

Is there another menu plugin available that is working with the
current build (2.1 rc1)

Tom

On 4 Jan., 21:15, euromark <dereurom...@googlemail.com> wrote:
> first of all you are not giving us any links or code etc
> kinda hard to help you without anything concrete to go on

--
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: