Announcement

Collapse
No announcement yet.

Index products in one big section in sidebar like top level section list

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

    Index products in one big section in sidebar like top level section list

    The customer is always right!
    This customer wants a great many products in one section with an index down the side bar that changes as she adds or removes products.
    She is resistant to a product a section, she is adamant people prefer scrolling to clicking.
    1. Can anyone make a section layout that is really product layout!
    2. Can anyone index products in one big section in the sidebar like top level section list.
    Thanks, I am not hopeful!!!
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Not sure what you mean for (1).

    For (2) here you go:
    Code:
    <actinic:block type="EntireSectionList">
    	<actinic:block type="ProductList">
    		<br/><a href="<actinic:variable name="SectionPageName" />#<actinic:variable name="EncodedProductAnchor" />"><actinic:variable name="ProductName" /></a>
    	</actinic:block>
    </actinic:block>
    Note that this links directly to the page and is only suitable if you don't have logged-in business customers.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Norman, you are a legend. I will try it in the morning but it looks exactly what I need. Hopefully I will be able to make it work with the accordion menu.
      Thank you.
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        It is very god Norman.
        Can it be made to show the products of just one section throughout the site?
        Thanks
        Jonathan
        Jonathan Chappell
        Website Designer
        SellerDeck Website Designer
        Actinic to SellerDeck upgrades
        Graphicz Limited - www.graphicz.co.uk

        Comment


          #5
          I found the answer:
          <actinic:block type="EntireSectionList">
          <actinic:block type="ProductList">
          <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%201" >
          <li><a href="<actinic:variable name="SectionPageName" />#<actinic:variable name="EncodedProductAnchor" />"><actinic:variable name="ProductName" /></a></li>
          </actinic:block>
          </actinic:block>
          </actinic:block>

          It seems to find the section id you have to put the variable 'sectionID' into the body text somewhere and click apply!
          Jonathan Chappell
          Website Designer
          SellerDeck Website Designer
          Actinic to SellerDeck upgrades
          Graphicz Limited - www.graphicz.co.uk

          Comment


            #6
            I used this code for my navigation:
            <p class="slide">Our Umbrellas</p>
            <ul class="umbrellas">
            <actinic:block type="EntireSectionList">
            <actinic:block type="ProductList">
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%201" >
            <li><a href="<actinic:variable name="SectionPageName" />#<actinic:variable name="EncodedProductAnchor" />"><actinic:variable name="ProductName" /></a></li>
            </actinic:block>
            </actinic:block>
            </actinic:block>
            </ul>
            <p class="slide">Our bags</p>
            <ul class="bags">
            <actinic:block type="EntireSectionList" >
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%21%3d%201" >
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan1%22%20%2f%3e" >
            <li><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> </li>
            </actinic:block>
            </actinic:block>
            </actinic:block>
            </ul>

            But the top (umbrellas) bit didn't work in the home page without adding 'acatalog' to the code thus:

            <p class="slide">Our Umbrellas</p>
            <ul class="umbrellas">
            <actinic:block type="EntireSectionList">
            <actinic:block type="ProductList">
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%201" >
            <li><a href="acatalog/<actinic:variable name="SectionPageName" />#<actinic:variable name="EncodedProductAnchor" />"><actinic:variable name="ProductName" /></a></li>
            </actinic:block>
            </actinic:block>
            </actinic:block>
            </ul>
            <p class="slide">Our bags</p>
            <ul class="bags">
            <actinic:block type="EntireSectionList" >
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%21%3d%201" >
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevelIsGreaterThan1%22%20%2f%3e" >
            <li><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> </li>
            </actinic:block>
            </actinic:block>
            </actinic:block>
            </ul>

            Moral of the story: don't be afraid of Blocks and Blockifs.

            These Tutorials by Gabriel Crowe are great: http://community.actinic.com/showthread.php?t=35126
            Jonathan Chappell
            Website Designer
            SellerDeck Website Designer
            Actinic to SellerDeck upgrades
            Graphicz Limited - www.graphicz.co.uk

            Comment

            Working...
            X