Hide all events from autonav?

Permalink
Hello,
I am currently developing a website where the users will not be the most techy users, so all of the features need to be as streamlined as possible.

Is there a way to make it where the event pages do not appear in the autonav block? Obviously, this can be achieved by changing the properties and attributes each page to include the Exclude from Nav attribute. But I was hoping that this could be streamlined a bit.

Is there a way to make it where when a user adds an event, it does not show in the autonav or alternatively a way to add checkboxes for this attribute in the overlay?

Tags:

View Replies: View Best Answer
GregJoyce replied on at Permalink Reply
GregJoyce
Hi,
Right now there is not a way to include this in the calendar by default. I think there may be plans in the future to allow you to set page attributes when setting up Page Type defaults, but I'm not sure when / if that will happen.

I can see how excluding the events from the autonav might be helpful. The best option to 'fake' this behavior (actually I think it more or less does it exactly) would be to make your "calendar" page a page that is excluded from navigation, but put your actual calendar block on a separate page. Then, when you create events, they will all be behind the no-nav page, but they will show up in the calendar.
MattWaters replied on at Permalink Best Answer Reply
MattWaters
You might be able to do what you're looking for by using this free add-on:

http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...

It includes a custom template for the Auto-Nav block as well as a custom attribute that's meant to be applied to the parent page.

Basically it lets you hide certain pages' sub-pages while continuing to show those located elsewhere. Do you think that will work? Typically you'd have events created under a single Calendar page, so this way you could hide the events and still link to your calendar in the autonav.
Corky1217 replied on at Permalink Reply
Thanks for everyone's suggestions.

I had been looking into the Exclude Subpages addon, but had been having some trouble developing what I needed from it. However, I finally figured out where I was messing up, and this is exactly what I need.

Thanks!
MattWaters replied on at Permalink Reply 2 Attachments
MattWaters
If you wanted to add a default attribute for new Calendar Event pages, you could do it through Page Type Defaults, though the user would have to check the "Exclude from Nav" checkbox themselves. Go to:

Dashboard > Pages & Themes > Page Types > Event > Settings

Check out my attached screenshots for how this would look in the Dash, and how it would look in the overlay once it's been set up. Probably not an ideal solution, since you'd need to rely on users to check that checkbox reliably, which seems like something that wouldn't happen consistently.