Announcement

Collapse
No announcement yet.

two different sections

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

    two different sections

    Is it possible to create to different sections and place one section on the left and one one the right.

    say:
    on left bar, going to a list:

    Angelica...Bergamot Angelica_Bergamot.html
    Cajeput...Catnip

    on right bar, going to individual products:

    Angelica Angelica.html
    Bergamot
    Cajeput
    Catnip


    I want actinic to generate the code.
    I don't want them both to be on one long section. I want them to be two different sections in two different place.

    #2
    Hi Scott

    This is possible to do using what are described in the 'Advanced User Guide' as 'Advanced Lists'. These give you a lot more flexibility abut what list content is used where.

    First of all, you need to create a new User Definable Variable in Actinic, which is settable at the 'Section' level. Call it something like 'WhichSectionList' and set the 'Type' as 'List of Choices'. In the 'Values' tab, create two choices of 'Sidebar' and 'Main' (or something like that). Check the attached screengrab.

    You can then categorise your sections as appearing in either 'Sidebar' or 'Main' section list.

    Then use the following code for the list of sections for the sidebar:

    Code:
    <actinic:block type="TopLevelSectionList" >
    <actinic:block if="%3cactinic%3avariable%20name%3d%22WhichSectionList%22%20%2f%3e%20%3d%3d%20%22Sidebar%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>
    And then use this code for the list that you want in the 'Main' section...
    Code:
    <actinic:block type="TopLevelSectionList" >
    <actinic:block if="%3cactinic%3avariable%20name%3d%22WhichSectionList%22%20%2f%3e%20%3d%3d%20%22Main%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">
       <em><Actinic:Variable Name="SectionName"/></em>
    </a>
    <br />
    </actinic:block>
    </actinic:block>
    Attached Files

    Comment

    Working...
    X