Developer Guide

Template Cutin Guide

Overview Uploading a Template layouts sub-page template <$headerplugins> $logo1 <$menu> <$pagetitle> <$body> <$section> <$blog> <$sidebarcontrol> <$sidebarmenu> $single <$snippet> <$include> edittext label $viewlink <$cartitems> <$carttotal> <$domain> <$userfullname> <$userid> <isHomePage> <IsNotHomePage> <else> logic options <$copyright> <$trademark> <$date> <$year> File Versioning Social Media Links

<$sidebarmenu>

Macro<$sidebarmenu>
Purpose This macro creates a sidebar menu from the child pages of the selected page.
Special NotesThe sidebarmenu macro creates an unordered list structure:<UL> <li><a href="">Link 1</a></li> <li><a href="">Link 2</a></li></UL>If the selected main menu item does not have any child pages, the side menu displays links to pages at the same level as the selected page.
Attributes
  • ulID - ID applied to the main opening UL tag
  • ulClass - Class applied to the main opening UL tag
  • liClass - Class applied to every list item
  • liOdd - Class applied to every odd listitem
  • selectedClass - Applied to the list item of the selected menu item

 

Example Usage
EXAMPLE

<$sidebarmenu ulID="menu" selectedClass="active">

PRODUCES

<UL id="menu">
     <li><a href="">Link 1</a></li>
     <li><a href="" class="active" >Link 2</a></li>  (if selected)
</UL>