hello everyone,
is there a way to determine the level of an album? i can't find a suitable variable...
let's say there is a structure like this:
main gallery
|
|---- gallery#2
|
|---- gallery#3
how to check when main gallery is reached?
played around with childCount and childIds with no success 
bye
Posts: 804
If parentID=0 you are at the top.
Posts: 8
thanks dude!
Posts: 3
I think you meant to say parentId.
Posts: 16
Where can I find parentId?
{$parentId} does not work, how do I get the value in the smarty template?
Posts: 804
The variable is $theme.item.parentId. I'm not sure if when you are at the top if it is blank or if it is 0.