Adding Brochure pages to NorList

Search engine friendly UL list type menu for Actinic V8 and V9. Styled by CSS and animated by a small JavaScript.
Post Reply
norman
Site Admin
Posts: 1238
Joined: Sat Feb 07, 2004 9:55 pm

Adding Brochure pages to NorList

Post by norman » Tue Apr 10, 2007 12:20 pm

If you want to display Brochure links within NorList then do the following:

Go to Design / Library / Layouts / NorList Menu and edit layout NorList Dynamic Menu Code.

Look for the line

Code: Select all

<ul class="menulist" id="listMenuRoot">
Immediately after that add the following

Code: Select all

<!-- patch to add in Brochure List -->
<li><a class="menuheader" href="<actinic:variable name="HomePageURL" />" target="_self"><actinic:variable name="HomeText" /></a></li>
<actinic:block type="BrochurePagesList" >
	<actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%21%3d%201" >
		<li><a href="<actinic:variable name="BrochurePageURL" />"><actinic:variable name="BrochureName" /></a></li> 	    
	</actinic:block>    
</actinic:block>

<!-- patch to add in the Products - link -->
<li><br><a class="menuheader" href="<actinic:variable name="TopSectionPageURL" />"><actinic:variable name="EnterShopText" /></a></li>
Also add a CSS definition for menuheader into either your Actinic Stylesheet or the NorList one. E.g.

Code: Select all

.menuheader {
	font-size: 150%;
	font-weight: bold;
	}
The lines containing menuheader are optional and can safely be deleted.
Norman

Post Reply