I'm trying to have my calendar show in top menu but not the calendar_events in the tree below it.
by unchecking "show in menu".
But this also stops the events from showing at all in the events list.
Is there an easy way to fix this?
Am digging round the event_calender code and getting into dataobject::get filters etc
but surely this is a simple thing to do - why does unchecking "show in menu" also hide the events in my event list?
and anyone got a fix?
I just came across this problem as well. And while I don't think this is an elegant solution, I think it's better than hacking the core event_calendar code.
In my template.ss file I use:
<% if CalendarEvent %>
<% else %>
<% control Children %>
<% end_control %>
<% end_if %>
IMHO - I think of this as a template hack to fix a code logic issue. But at least it keeps the code from being hacked. It doesn't seem logical that events would be forced to show in the navigation. Like the blog module, the events should show up in the events holder without cluttering up the navigation.