Enhancement suggestion

Permalink Browser Info Environment
We found that we needed pages NOT excluded from nav for BreadCrumbs, but did want them excluded from MegaMenu.

I added a page attribute "exclude_from_meganav". Allowing us to chose not to exclude from nav but still exclude from MegaMenu. It was a one line change in your block controller.
From:
public function excludeFromNavViaAttribute($c)
{
return $c->getAttribute('exclude_nav');
}

To:
public function excludeFromNavViaAttribute($c)
{
return ($c->getAttribute('exclude_from_meganav') || $c->getAttribute('exclude_nav'));
}

Of course you will want to create that page attribute during package install.

HTH,
Sean

Type: Pre-Sale
Status: In Progress
SeanDevoy
View Replies:
jb1 replied on at Permalink Reply
jb1
Thanks for the suggestion, I'll be sure to keep a note of it for the next update.

concrete5 Environment Information

C5 5.7+

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

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.