Announcement

Collapse
No announcement yet.

Parent SectionID

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

    Parent SectionID

    Hi All
    Im trying to get hold of the SectionID of the parent section. Any ideas please?
    Thx
    K

    #2
    I don;t know what you are trying to achieve but UpALevelPageURL might be useful for you.

    Comment


      #3
      Originally posted by kakshaks View Post
      Hi All
      Im trying to get hold of the SectionID of the parent section. Any ideas please?
      Thx
      K
      One way is to embed PHP into the page to read the actinic database and provide the Parent Section ID. Take a look for 'Gabes Free Nav' on the forum, the code there includes routines to do what you need.

      Malcolm

      SellerDeck Accredited Partner,
      SellerDeck 2016 Extensions, and
      Custom Packages

      Comment


        #4
        Thanks Guys.
        Duncan - Afraid I def need Parent SectionID. Its all to do with trying to use accordion for navigation.
        .
        As for Gabes code - not knowing PHP, Im impressed at how close I have got but not quite right as the string I have returned is:-
        TopSectionID | ParentSectionID | CurrentSectionID
        just need to find some strig manipulation PHP code and im there....hint hint

        Comment


          #5
          Norman does an accordion menu in 2 flavours for £35, seems a better idea if that's all you are after.

          Comment


            #6
            Originally posted by kakshaks View Post
            Thanks Guys.
            Duncan - Afraid I def need Parent SectionID. Its all to do with trying to use accordion for navigation.
            .
            As for Gabes code - not knowing PHP, Im impressed at how close I have got but not quite right as the string I have returned is:-
            TopSectionID | ParentSectionID | CurrentSectionID
            just need to find some strig manipulation PHP code and im there....hint hint
            Why do you need the Parent Section to generate an Accordion, you normally start at the top and scan down, Gabes code will do all you need and can be used with an Accordion script to generate a navigation, you just need to change the code in the function SectionList to do it.

            I use similar code to generate an Accordion Navigation on my Web Site.

            Malcolm

            SellerDeck Accredited Partner,
            SellerDeck 2016 Extensions, and
            Custom Packages

            Comment

            Working...
            X