Announcement

Collapse
No announcement yet.

limit sections displayed

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

    limit sections displayed

    Hi Guys,

    I have used the following excellent technique to output a nice nested section list on a site we're designing (http://www.gallery-57.com/acatalog/index.html)

    Code:
    <actinic:block type="EntireSectionList" > 
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%21%3d%20%22%22" ></li></actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%3d%3d%20%22%22" ><ul class="products"><li></actinic:block>
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%21%3d%20%22%22%29"><li></actinic:block>
    <a href="<actinic:variable name="SectionPageName"/>"><actinic:variable name='SectionName'/></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNameNext%22%20%2f%3e%20%3d%3d%20%22%22" ></li></ul>
    </actinic:block>
    
    </actinic:block>

    What I'm wondering, is how to limit the display of the subsections for just the top level section the user is currently viewing,

    i.e. when you are in the 'home & garden' section (including any of the subs ections) , i would like the sidebar menu to just display the nested menu for that main section and none of the other top level sections?

    any suggestions ??

    thanks in advance

    James

    #2
    http://community.actinic.com/showpos...9&postcount=18


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Just a note that depending on the size of the site using EntireSectionList can grind it to a halt on the much larger installs.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Originally posted by aura-digital View Post
        i.e. when you are in the 'home & garden' section (including any of the subs ections) , i would like the sidebar menu to just display the nested menu for that main section and none of the other top level sections?

        any suggestions ??
        Once in, how does anyone ever get out?
        You need multiple instances of the department list, which show according to when the variable is set to. So when in blue widgets section, then only blue widgets subsections show. You need to understand variables and blockifs to do this though.

        If you have defined areas like these and want dynamic subsections showing, i think you need to be looking at having the TLS's listed across the top at all times so it is possible to always move into other sections. Or you could of course plump for something like 'Collapso' on drillpine.biz.

        Comment


          #5
          Originally posted by leehack View Post
          If you have defined areas like these and want dynamic subsections showing, i think you need to be looking at having the TLS's listed across the top at all times so it is possible to always move into other sections. Or you could of course plump for something like 'Collapso' on drillpine.biz.
          The solution by ChrisD in the above link only generates the sub-sections according to the which section the user is in .... as these are generated offline you get the pseudo dynamic effect when clicking between sections.. I did this (also adding in images) here www/partyconnection/co/uk


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            other sections

            jont,

            cheers for that, I hadn't thought about that. Perhaps it would be better for me to display all the top level sections in there, and then just have the subs sections displaying for only the current section??

            this would allow the user to get at the other sections in the store easily.

            thanks for the feedback

            James

            Comment


              #7
              Originally posted by aura-digital View Post
              it would be better for me to display all the top level sections in there, and then just have the subs sections displaying for only the current section
              Indeed - no point burying things and making users click around.


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by leehack View Post
                Once in, how does anyone ever get out?
                Usually with the red "X" top right if they get lost and confused


                Bikster
                SellerDeck Designs and Responsive Themes

                Comment


                  #9
                  Originally posted by jont View Post
                  The solution by ChrisD in the above link only generates the sub-sections according to the which section the user is in .... as these are generated offline you get the pseudo dynamic effect when clicking between sections.. I did this (also adding in images) here www/partyconnection/co/uk
                  I like the approach apart from the need to scroll before I see the links. I've done something similar, however mine was TLS's across the top (tabs) and when selected the tab changed to illustrate it was the active tab and the subsections appeared down the left. Similar approach but different application.

                  Comment


                    #10
                    Originally posted by jont View Post
                    Usually with the red "X" top right if they get lost and confused
                    LOL i was saying that if all TLS's disappear apart from the one you're in, how do you go see others. Plus this presents SEO internal linking shortage.

                    Comment


                      #11
                      I know

                      When you lead someone down a blind alley they will go for the comforting by X and find a competitors site with better navigation.


                      Bikster
                      SellerDeck Designs and Responsive Themes

                      Comment


                        #12
                        Originally posted by jont View Post
                        I know

                        When you lead someone down a blind alley they will go for the comforting by X and find a competitors site with better navigation.
                        Ah gotcha, i thought the confused smiley was at my post lol.

                        Comment


                          #13
                          The smilie represented the customer 0.075 seconds prior to hitting the red X


                          Bikster
                          SellerDeck Designs and Responsive Themes

                          Comment


                            #14
                            LOL, you know .

                            Comment


                              #15
                              Got It!

                              Think I've got it , with a combination of the technique above and chris's section hiding, plus all the other top level sections are also displayed.

                              http://www.gallery-57.com/acatalog/index.html

                              Code:
                              <actinic:block type="EntireSectionList" > 
                              <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aSectionNumber%22%20%2f%3e%29%20Or%20%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%201" >
                              <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%21%3d%20%22%22" ></li></actinic:block>
                              <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%3d%3d%20%22%22" ><ul class="products"><li></actinic:block>
                              <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%21%3d%20%22%22%29"><li></actinic:block>
                              <a href="<actinic:variable name='SectionPageName'/>"><actinic:variable name='SectionName'/></a>
                              <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNameNext%22%20%2f%3e%20%3d%3d%20%22%22" ></li></ul><actinic:block >
                              
                              </actinic:block>
                              </actinic:block>
                              </actinic:block>
                              </actinic:block>
                              Just trying to fully test it now. Thanks for the input everybody.

                              James

                              Comment

                              Working...
                              X