pmichaelis Posted July 4, 2016 Share Posted July 4, 2016 Hey kongondo, I downgraded to 2.7.2 and the descriptions work ... Thanks for that. Link to comment Share on other sites More sharing options...
kongondo Posted July 4, 2016 Author Share Posted July 4, 2016 So, it's a PW 3.xx issue. Once we have an official stable release of PW 3.xx I'll test all my modules to ensure they are version 3.xx-compatible. 3 Link to comment Share on other sites More sharing options...
johnteaksf Posted July 14, 2016 Share Posted July 14, 2016 Hey there, really great plugin. We love it! One small question. Is there a way to render natural children before custom links in the menu? I didn't see anything in the options about that. eg attached ~ I'd like Customer Support to render after the children in the menu right now it renders before... Thanks! Link to comment Share on other sites More sharing options...
kongondo Posted July 15, 2016 Author Share Posted July 15, 2016 (edited) Hi @johnteaksf, Welcome to the forums. Currently, it is not possible and I see no easy way of doing it within the module. My suggestion is that you try (and adapt to your needs), the approach outlined on page 7 of this support board, specifically this post or this gist See the example array of the $key => $value pairs you'd be working with here. The important things to remember are that Custom Links will not have a 'pages_id' $key. So, that's one way to identify such links in your loop You will have to code the inclusion of the children yourself Edited July 15, 2016 by kongondo 1 Link to comment Share on other sites More sharing options...
johnteaksf Posted July 15, 2016 Share Posted July 15, 2016 Thanks @kongondo! Very helpful Link to comment Share on other sites More sharing options...
SoccerGuy3 Posted July 16, 2016 Share Posted July 16, 2016 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... Link to comment Share on other sites More sharing options...
kongondo Posted July 16, 2016 Author Share Posted July 16, 2016 (edited) @SoccerGuy3, I'm not sure you've seen this, in the Tab Settings, right under 'Pages selectable in menu'? Quote Optionally, you can specify a valid ProcessWire selector to limit the Pages that can be added to this menu (see Build Menu Tab). Otherwise, all valid pages will be available to add to the menu. By default, returned pages are limited to 50. You can override this by setting your own limit here. NOTE: This feature only works with Asm Select and Page Auto Complete. Expand There's also a note on line #486 to the same effect. The normal practice is not to directly edit modules. Your 150 will get overwritten next time you upgrade Menu Builder and all will not be well . What you want to do is to use Page Auto Complete or Asm Select and add limit=150 to the setting above ('Pages selectable in menu') Edited July 16, 2016 by kongondo 2 Link to comment Share on other sites More sharing options...
kongondo Posted July 17, 2016 Author Share Posted July 17, 2016 @all, @johnteaksf. I just noticed that the forum upgrade seems to have cannibalised some of the content in my post about the new getMenuItems() method which allows for building of complex menus. I have contacted @Pete to see if I could get the content restored from an old backup. Part of the missing content addressed the advantages of returning menu object items rather than array items... 1 Link to comment Share on other sites More sharing options...
Jonathan Lahijani Posted July 20, 2016 Share Posted July 20, 2016 Sometime after 3.0.21, PW had modifications that has messed up how PW's "Markup" field renders descriptions with HTML in them, which also affects MenuBuilder. I've created an issue on the PW Github:https://github.com/ryancramerdesign/ProcessWire/issues/1932 4 Link to comment Share on other sites More sharing options...
kongondo Posted July 25, 2016 Author Share Posted July 25, 2016 Thx to @Pete, I've managed to restore the content of this post (about complex menu structures) that got lost during the upgrade. 1 Link to comment Share on other sites More sharing options...
grimezy Posted July 29, 2016 Share Posted July 29, 2016 (edited) On 7/20/2016 at 5:14 PM, Jonathan Lahijani said: Sometime after 3.0.21, PW had modifications that has messed up how PW's "Markup" field renders descriptions with HTML in them, which also affects MenuBuilder. I've created an issue on the PW Github:https://github.com/ryancramerdesign/ProcessWire/issues/1932 Expand I can confirm that the latest commits released to 3.0.28 have fixed this issue. I believe this still requires the module to be updated to support 3.x Have tested and the InputfieldMarkup does now honor the Inputfield::entityEncodeText property. Thanks! Edited July 29, 2016 by grimezy Jumped the gun on module being patched. Link to comment Share on other sites More sharing options...
SoapyDaz Posted July 31, 2016 Share Posted July 31, 2016 Hi kongondo, So, for the time being, does the plugin only work with v2.7.x of ProcessWire? Link to comment Share on other sites More sharing options...
kongondo Posted July 31, 2016 Author Share Posted July 31, 2016 @SoapyDaz. Welcome to the forums I can only guarantee that it works in 2.7x...Others have reported issues regarding PW 3+. I am waiting for a stable release of PW 3+ before I officially support the module for that version. 3 Link to comment Share on other sites More sharing options...
SoapyDaz Posted August 2, 2016 Share Posted August 2, 2016 Thank you kongondo! Very new to ProcessWire and was looking forward to this as a quick mean to get me up and running with menu building! Will keep an eye out for when the module is updated! Link to comment Share on other sites More sharing options...
WolfgangW Posted August 29, 2016 Share Posted August 29, 2016 Is ProcessMenuBuilder compatible with PW 3.0.32? Link to comment Share on other sites More sharing options...
adrian Posted August 29, 2016 Share Posted August 29, 2016 On 8/29/2016 at 2:48 PM, WolfgangW said: Is ProcessMenuBuilder compatible with PW 3.0.32? Expand Based on the comments above it sounds like there are currently still some issues with 3.x. @kongondo is away at the moment, but I am sure he'll be looking at getting this 3.x compatible now that we are so close to a stable release. 2 Link to comment Share on other sites More sharing options...
robinc Posted September 21, 2016 Share Posted September 21, 2016 Just wanted to say - great module I am looking forward to when I can use it on PW3. 1 Link to comment Share on other sites More sharing options...
shango Posted October 16, 2016 Share Posted October 16, 2016 Love this module. Using it in 2.7. It would be great if I could upgrade to 3.0.36 without issues. Any new workarounds? 1 Link to comment Share on other sites More sharing options...
kongondo Posted October 17, 2016 Author Share Posted October 17, 2016 On 10/16/2016 at 6:06 PM, shango said: Love this module. Using it in 2.7. It would be great if I could upgrade to 3.0.36 without issues. Any new workarounds? Expand Welcome to the forums @shango Working on it....no ETA for now though. 2 Link to comment Share on other sites More sharing options...
Michael van Laar Posted October 21, 2016 Share Posted October 21, 2016 As far as I tested it, this GitHub pull request should fix the bug when using the module with PW 3.0.32+: https://github.com/kongondo/MenuBuilder/pull/30 4 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted November 3, 2016 Share Posted November 3, 2016 @kongondo, did you have a chance to check if @Michael van Laar's pull request fixes the new version issue? A life without Menu Builder is not so bright for some of us))) Link to comment Share on other sites More sharing options...
kongondo Posted November 4, 2016 Author Share Posted November 4, 2016 @Ivan Gretsky...not yet, sorry. Hopefully I will brighten your life once again soon-ish... 2 Link to comment Share on other sites More sharing options...
sreeb Posted November 18, 2016 Share Posted November 18, 2016 I am using foundation 6 and in my main menu i want to use dropdown elements for the children. In this case i must add the attribute data-dropdown-menu to the first <UL>. How can i add an attribute to an element. Please tell me, i cant find a solution:( Thanks in advance Link to comment Share on other sites More sharing options...
kongondo Posted November 18, 2016 Author Share Posted November 18, 2016 Welcome to the forums @sreeb. Please have a look at this post (including the gists): Use one of those custom functions (or one of your own) and use PHP logic to throw in your data-dropdown-menu in the first <ul> 1 Link to comment Share on other sites More sharing options...
Michael van Laar Posted November 23, 2016 Share Posted November 23, 2016 Anyone has a solution for multi-language menus with custom menu items? For pages localisation works using the default_title option. But this is not possible with custom menu items. And since the items’ title field is not a multi-language field, I have no idea how to solve this. But I’m probably not the first one stumbling over this. ;-) If not, I think I have an idea how to build a solution using nested repeater fields. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now