Creating a menu with only certain pages

Permalink Browser Info Environment
I want to create a menu, separate from the main nav that only shows certain pages. I cannot use the "beneath a certain page" option as some are under the main "Home" page in the site and some are sub-pages of other pages in the sitemap.

Any idea on how to do this?

Type: Discussion
Status: New
globalnerds
View Replies:
c5studio replied on at Permalink Reply
c5studio
There is currently no way that I am aware of that will do that. You can use a content area to add a list of the links that you want, and then style it yourself in your themes css.
hgstudio replied on at Permalink Reply 1 Attachment
hgstudio
I achieved this by creating an attribute called "home_nav" (you can call it whatever) and assigning it to the pages I wanted included in my nav. Then I crated a custom template for the Ukao Menu block and in the view.php file added:

if ($_c->getCollectionAttributeValue('home_nav')) {
}

(see attached)

Then of course applying the template to the block.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.