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.
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
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.
Comment