Announcement

Collapse
No announcement yet.

Parent Section Name

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

    Parent Section Name

    Hi

    Does anyone know if it is possible to retrieve the name of the parent section whilst in a sub-section? I had a quick look thorugh the advanced guide but nothing was obvious.

    At the moment I have some code which checks the current section name to switch images to highlight the current section in the section list but I would like to be able to say if the current section or it's parent are xyz then switch the image.

    Thanks in advance for any help.

    Trevor

    #2
    you get this information from NETQUOTEVAR:SECTIONNAME it is used at the top and bottom of the standard Actinic site
    Owner of a broken heart

    Comment


      #3
      NETQUOTEVAR:PAGEHEADER is used to include the name of the current section. NETQUOTEVAR:SECTIONNAME, however, is only available to be used within the parent section link template (Act_ParentSectionsLink.html) so you would need to add your JavaScript into there.

      Comment

      Working...
      X