[solved] How to get $node-hierarchy to show more than one digit
Posted: Tue May 20, 2008 12:06 pm
Hi,
Is it possible to get {node-hierarchy} to display more than one digit? For example, I have a page structure like so:
1
1.1
1.1.1
1.2
I want to be able to do an {if} in my template to confirm if the current page (1.1.1) is in or below 1.1 in the hierarchy. I have a feeling this should be simple but a few hours of googling later I'm still stumped
With the ability to get the full hierarchy level of a current page, I can press ahead with my {if}
Thanks,
Lampsie
Is it possible to get {node-hierarchy} to display more than one digit? For example, I have a page structure like so:
1
1.1
1.1.1
1.2
I want to be able to do an {if} in my template to confirm if the current page (1.1.1) is in or below 1.1 in the hierarchy. I have a feeling this should be simple but a few hours of googling later I'm still stumped

With the ability to get the full hierarchy level of a current page, I can press ahead with my {if}

Thanks,
Lampsie