PDA

View Full Version : Parent Section Name


trevorsm
04-Jul-2003, 05:51 AM
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

garyhay
04-Jul-2003, 07:32 AM
you get this information from NETQUOTEVAR:SECTIONNAME it is used at the top and bottom of the standard Actinic site

cdicken
07-Jul-2003, 12:16 PM
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.