Page 1 of 1

Page Specific items for Menu Manager

Posted: Tue Apr 07, 2015 9:43 pm
by grunden
Hey all,

I'm hoping someone can help me with this.

When someone creates/edits a page, I would like them to be able to specify *other* pages in the site that show up in a menu manager on the page they are creating/editing.

Think like... "related" links. So if you're viewing a page, there's a menu to pages that someone has specified as related.

Is there a way to go about this? I know the menu manager can accept an "items" parameter so I'm guessing I need to somehow convert what a user selects via checkboxes or a drop down or something in the editor, into an array of items that can be fed into the menu manager inside the page's template.

Re: Page Specific items for Menu Manager

Posted: Wed Apr 08, 2015 10:25 am
by staartmees
I would make a second content block and make the links to the pages in it and style it with css.

Re: Page Specific items for Menu Manager

Posted: Wed Apr 08, 2015 3:50 pm
by velden
I'd consider using module ECB and use the 'dropdown_from_udt' content block together with optional parameter 'multiple=1'.

You need to find some code to create the UDT that lists the pages.