Hierarchy Manager Loop help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
MikePearce

Hierarchy Manager Loop help

Post by MikePearce »

Hi all,

I'm having trouble with hierarchy manager - I would like to be able to bubble back through the tree and find out what the name of the top parent is, ie. if I am on 3.2.1.2, then follow it all the way back to find out what the name of 3 is, then use this code as a User defined tag for some template shinanegans elsewhere.

I was using the code here: http://forum.cmsmadesimple.org/index.ph ... 778.0.html as a starting point, but can't get a while loop working.

Thanks in advance for your help.

Cheers

Mike
Locked

Return to “CMSMS Core”