Announcement

Collapse
No announcement yet.

How do I create a jump list containing all sections?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I create a jump list containing all sections?

    The following code will include a jump list into the site that contains every section in the store, with indents showing the depth of section.

    HTML Code:
    <select size="1" name="ACT_droplstbox" onClick="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">
    
    <option value="" selected="selected">Select a section</option>
    
    <actinic:block type="EntireSectionList" >
    
    <option value="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>">
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan1%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan2%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan3%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan4%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan5%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan6%22%20%2f%3e"> </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan7%22%20%2f%3e"> </actinic:block>
    
    <Actinic:Variable Name="SectionName">
    
    </option>
    
    </actinic:block>
    </select>
Working...
X