Page Specific items for Menu Manager

General project discussion. NOT for help questions.
Locked
grunden
New Member
New Member
Posts: 1
Joined: Tue Apr 07, 2015 9:39 pm

Page Specific items for Menu Manager

Post 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.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Page Specific items for Menu Manager

Post by staartmees »

I would make a second content block and make the links to the pages in it and style it with css.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3484
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Page Specific items for Menu Manager

Post 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.
Locked

Return to “General Discussion”