[Solved] Get the first parent_id in the template
Posted: Thu Nov 27, 2008 6:35 pm
Hi,
In the template I would like to know the first parent_id of the hierarchy of the current page.
For example, if I am in this page:
http://www.somesite.com/a/b/c
I would like to get: a
Thank you!
In the template I would like to know the first parent_id of the hierarchy of the current page.
For example, if I am in this page:
http://www.somesite.com/a/b/c
I would like to get: a
Thank you!