Announcement

Collapse
No announcement yet.

Listing Sections and Sub-Sections together

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

    Listing Sections and Sub-Sections together

    Hi

    Is it possible to mod a template so that Actinic will display the sub sections below the section you're viewing aswell?

    i.e.

    Section Name
    - Sub Section 1
    - Sub Section 2
    - Sub Section 3
    - Sub Section 4

    Normal layout allows you to view all sub sections on the section you're in as

    Section 1 Section 2 Section 3
    Section 4 Section 5 Section 6

    And I am trying to achieve the following

    Section 1 Section 2 Section 3
    - sub 1 - sub 1 - sub 1
    - sub 2 - sub 2 - sub 2

    Section 4 Section 5 Section 6
    - sub 1 - sub 1 - sub 1
    - sub 2 - sub 2 - sub 2

    Any ideas - I've got a couple of my own but they're a bit long winded atm!

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    The advanced user guide provides details of how to produce a list of sections and there sub-sections, so you might be able to use this with some additional coding of the scripts, i.e. code to add in a <BR> after every third sub-section maybe..

    Comment


      #3
      OK

      Thanks for that

      I'll scour the AUG tomorrow and see what I come up with

      Jos
      Thanks

      Jos Medinger

      Tel : 01978 843 962
      www.internetology.co.uk
      Actinic / E-Commerce Hosting, Design & SEO
      ______________________________________

      Comment


        #4
        Hi there

        Tried the AUG method and I've got it working to list all the site sections and sub sections HOWEVER - it always does these from the root of the site.

        The effect I'm trying to achieve is one which displays the sections and sub sections *only below* that which you're currently viewing.

        Mabe my first graphical representation wasn't accurate...

        I'd like to produce this

        Section 1
        Section 2
        - Section 2a
        - Section 2b
        - Section 2c <----
        - Section 2c1
        - Section 2c2
        - Section 2c2a
        - Section 2c2b
        - Section 2c3
        Section 3
        Section 4

        The arrowed section is the one that I want to display the child sections below it - not a complete section list - just what is below that.

        In the SectionLine template, there is an NQV of 'NETQUOTEVAR:SECTIONNAME'
        Might there also be one for sub sections too? - just hoping!

        Jos
        Thanks

        Jos Medinger

        Tel : 01978 843 962
        www.internetology.co.uk
        Actinic / E-Commerce Hosting, Design & SEO
        ______________________________________

        Comment


          #5
          Jos

          I am afraid to say I really cannot work out any method of laying out section links in the way you describe. There is no way of including links to the subsections for a section, within the section link template for that section.

          All I have advised people to do before is to hard-code the links for the subsections into the section link layout template for the section. It's not a very flexible solution though.

          Comment


            #6
            Chris

            I *think I've worked a way around this...

            I've added
            Code:
            NETQUOTEVAR:CHILDSECTIONS_RAW
            into the HEAD TAGS of Act_Primary
            and then also included in the head tags, the Javascript code from the AUG which defines how to "Create a Section List (With Sub-Sections) in 2 Columns" (page 38)

            Finally, I've added the modified call script of
            Code:
            !!<<script language=Javascript1.1>document.write(SectionList(child_sections)) </script>>!!
            to the description of the subsections to be displayed.

            This currently outputs as (on the correct page) as this
            (NB - mild adult content on site)

            This is exactly how I want it *BUT* as yo can see, for some reason, the same level sections are being displayed beneath each sub section rather than their child sections being shown

            This has got me vexed now!

            Any ideas?

            Jos
            Thanks

            Jos Medinger

            Tel : 01978 843 962
            www.internetology.co.uk
            Actinic / E-Commerce Hosting, Design & SEO
            ______________________________________

            Comment


              #7
              I think your question has been answered in http://community.actinic.com/showthread.php?t=8452

              Comment

              Working...
              X