Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Hide in Menu, but show in Content

Go to End

3 Posts   1587 Views


Community Member, 23 Posts

9 January 2011 at 8:12am

Edited: 09/01/2011 8:13am

Hey there,

I have a Content site called "Accordion Holder" where all its subpages are listet as an accordion.
This works fine. But the subpages are also shown in the menu where I don´t want them to be shown.
If I activate the checkbox "Hide in menu" they disappear on BOTH - the menu AND on the "Accordion Holder" site.

Of course I could hide the second menu in general, but there are other pages where i do need the second menu level to be shown.
Has anyone a solution for this problem?

Here´s a cod snippet.

<div class="accordion">
			<% control Children %>
			 	<div class="box">
				 	<h3><a id="$Title" name="$Title">$Title<span>&and;</span></a></h3>
				 	<a href="#top" class="toplink">&uArr; top</a>
			<% end_control %>

Thanks in advance,


Community Member, 247 Posts

9 January 2011 at 12:11pm

Edited: 09/01/2011 12:12pm

Hide them from menus and try:

<% control AllChildren %>
<% end_control %>


Community Member, 23 Posts

10 January 2011 at 3:26am

Hey Pigeon,

thanx! That was the solution! :)