kongondo / MenuBuilder

Easily create navigation lists/menus using drag and drop
GNU General Public License v2.0
21 stars 8 forks source link

Not all pages showing in menu builder #28

Closed MarcPinnell closed 8 years ago

MarcPinnell commented 8 years ago

Ran into an issue today where my pages were not showing in the menu builder interface. After some snooping, drop down page list is limited to 50 items. I found the fix on line 487 of the ProcessMenuBuilder.module. Changed "50" to "150" and all is well...

kongondo commented 8 years ago

@MarcPinnell . Actually, it is not an issue and no fix is needed :-)

I also responded to this in your post in the support forums. In a nutshell, Menu Builder already provides an inbuilt way for limiting (or for using any other selector you want) as long as you use the Asm Select or Page Auto Complete to add menu items. In your case, just add

limit=150

to the input Pages selectable in menu. Just above that field, by the way, there is a note about exactly this :-)...There is also a note on line #486 about the same.

Anyway, for completeness, let me add that the normal practice is not to directly edit modules since such changes would get overwritten on each module upgrade....so all would not be well :-)

Thanks for using Menu Builder.