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.
Page Specific items for Menu Manager
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Page Specific items for Menu Manager
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
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.
You need to find some code to create the UDT that lists the pages.