Announcement

Collapse
No announcement yet.

Drop down list for sections

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

    Drop down list for sections

    HI folks

    Im having real trouble getting a drop down list to function showing only Subsection lists (without Top Level links showing too) just below the subsection image link, if you know what i mean :-)

    In case that doesnt make sense, we have a site with 3 main (Top level) sections, the first of these has approx. 10 subsections each of which have a few dozen sub-sub sections. I have tried everything in the advance user guide to get a drop down list that shows only the sub-sub section links on all 10 of the sub section links, mmm not sure if that makes sense either!

    I have managed to get the top level links showing, and the top level with subsections showing, but not the list of sub-sub sections!! aaaaraggghhh!!

    the site in question is www.tshirtmachine.com and its driving me mad, if anyone can help i would be delighted

    thanks guys

    Barry

    #2
    which instructions from the advanced user guideare you using?

    Comment


      #3
      Thanks for the prompt reply :-)

      ive tried all the options in the aug from page 36 to 38

      Comment


        #4
        and which one is the one you currently have visible that you want help with?

        or which one is the one you would like to have working, please update your site with the non -working edition of the one you want - it will help us to resolve the problem

        Comment


          #5
          Thanks Jo

          Im reluctant to upload the site like that, it looks terrible and is totally wrong

          all we need is to show a drop down list which only contains a list of the sections available below it, not the top level, or more than one level, only a list of the sections that you would see should you click on that section link

          if you go to http://www.tshirtmachine.com/acatalo..._T_Shirts.html
          you will see the 8 sections where i want a drop down to appear showing a list of the bands in that section

          all i have been able to get using the A.U.G is either a list of the 3 top level sections, or a full list of all sections, both are totally wrong

          thanks again for your help Jo

          Barry

          Comment


            #6
            am i right in saying that what i am tryin to make happen is a list of the Child Sections to appear in a drop down list underneath those section links you can see here http://www.tshirtmachine.com/acatalo..._T_Shirts.html

            can anyone help with this? we are finding it very tricky!!

            Comment


              #7
              Hi Again folks

              in my quest for a solution to this, i have found this code in Act_primary

              The NETQUOTEVARs below can be uncommented for getting raw section lists:
              1. Top level section list
              2. Section list from current level and all children (surely this is what i need?????)
              3. The whole section tree
              The rest covers the standalone structure members for each array - e.g. if
              you only need sName or sURL from an array.
              See the documentation for details.

              NETQUOTEVAR:TOPLEVELSECTIONS_RAW
              NETQUOTEVAR:CHILDSECTIONS_RAW
              NETQUOTEVAR:SECTIONTREE_RAW

              NETQUOTEVAR:SECTIONTREE_NAMES
              NETQUOTEVAR:SECTIONTREE_URLS
              NETQUOTEVAR:SECTIONTREE_IMAGES
              NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
              NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
              NETQUOTEVAR:SECTIONTREE_SECTIONIDS

              NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
              NETQUOTEVAR:TOPLEVELSECTIONS_URLS
              NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
              NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
              NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
              NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS

              NETQUOTEVAR:CHILDSECTIONS_NAMES
              NETQUOTEVAR:CHILDSECTIONS_URLS
              NETQUOTEVAR:CHILDSECTIONS_IMAGES
              NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
              NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
              NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS

              The section level can be accessed through:
              NETQUOTEVAR:SECTIONLEVEL
              -->


              im sure this must be what i need to make the child sections appear in a drop down list but i just cant get it to work, if i uncomment;

              NETQUOTEVAR:CHILDSECTIONS_RAW

              or

              NETQUOTEVAR:CHILDSECTIONS_URLS

              it just gets messy, or nothing happens, but surely im close? can anyone helpl?

              sorry about my confusinig way of saying things, let me try again;

              I need a drop down list just under every section link that shows the child sections within that section, when you select something from the drop down list you then get taken to that section

              aaaaarrrrgh!!! i just cant seem to say it on a way that isnt confusing!!

              please help

              Comment


                #8
                Barry,

                This can be done with the Advanced User Guide. If you have a bit of code that you have decided to use then, you can get the script to display child sections alone.

                This can be done by amending the document.write statement to specify (child_sections) instead of (section_tree)

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Thanks for the reply Bruce

                  but i am a little confused by it

                  I have tried everything I could find in the AUG without success and i dont know what you mean by "amending the document.write statement to specify (child_sections) instead of (section_tree)"

                  can you please elaborate?

                  your help iss very much appreciated

                  Comment


                    #10
                    Barry,

                    What I meant was, say you have to paste the following code into the template to get the list to appear

                    <script language=Javascript1.2>
                    document.write(YahooSections(section_tree))
                    </script>

                    Change that to read
                    <script language=Javascript1.2>
                    document.write(YahooSections(child_sections))
                    </script>

                    In the primary template look for
                    <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->

                    and replace NETQUOTEVAR:SECTIONTREE_RAW with NETQUOTEVAR:CHILDSECTIONS_RAW so it reads

                    <!--@act NETQUOTEVAR:CHILDSECTIONS_RAW -->

                    That should display the child sections now.

                    Kind regards,
                    Bruce King
                    SellerDeck

                    Comment

                    Working...
                    X