Hide one Brochure page from the Brochure list

Two level, smoothly expanding, search engine friendly accordion menu.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Hide one Brochure page from the Brochure list

Post by norman »

You want to omit one of the pages from the Accordion Brochure List. You can do this by tweaking layout Glossy Accordion Menu. Look for the line:

Code: Select all

	<a class="menuitem" href="<actinic:variable name="BrochurePageURL" />" ><actinic:variable name="BrochureName" /></a>
And put an Actinic Condition around it that only displays that line if it's not the page in question.

E.g. (we're hiding the "Home" page)

Code: Select all

	<actinic:block if="%3cactinic%3avariable%20name%3d%22BrochureName%22%20%2f%3e%20%21%3d%20%22Home%22">
		<a class="menuitem" href="<actinic:variable name="BrochurePageURL" />" ><actinic:variable name="BrochureName" /></a>
	</actinic:block>
Norman
Post Reply