Announcement

Collapse
No announcement yet.

How can I split my section list up?

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

    How can I split my section list up?

    This technique uses 'Advanced Lists' to include two different section lists into the page – with each one containing different section links.

    Before you can insert the design code to support this, you need to create a new variable within SellerDeck called 'WhichSectionList'. To do this:

    1. Go to 'Design | Library | Variables'.

    2. Expand the 'Section' group and then right-click on any variable and select 'New Variable'

    3. Give it a name of 'WhichSectionList' and a prompt of 'Where do you want this section link to appear?'

    4. Set 'Place of Setting' to 'Section' and leave the 'Tab' as 'Properties'.

    5. Change the 'Type' to 'List of Choices'.

    6. Change to the 'Values' tab, and click the 'New' button to create two choices of 'List 1' and 'List 2'.

    7. Change back to the 'Basic Definition' tab.

    8. Check 'Initial Value' is set to 'Use Parent ()' and 'Top Level Value' is set to 'List 1'.

    9. Click 'OK' to save your changes.

    You can then categorise your sections as appearing in either 'List 1' or 'List 2'. This is done in the 'Properties' tab of each section.

    Then use the following code to insert your 'List 1' and 'List 2' code into the design.

    List 1:

    HTML Code:
    <actinic:block type="TopLevelSectionList" >
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22WhichSectionList%22%20%2f%3e%20%3d%3d%20%22List%201%22" >
    
    <a href="<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>" class="product_section">
    
    <Actinic:Variable Name="SectionName"/>
    
    </a>
    
    <br />
    
    </actinic:block>
    
    </actinic:block>
    List 2:
    HTML Code:
    <actinic:block type="TopLevelSectionList" >
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22WhichSectionList%22%20%2f%3e%20%3d%3d%20%22List%202%22" >
    
    <a href="<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>" class="product_section">
    
    <Actinic:Variable Name="SectionName"/>
    
    </a>
    
    <br />
    
    </actinic:block>
    
    </actinic:block>
Working...
X