It's been a while since I've been in. Hope everybody's doing ok
I need to find out how many levels deep a certain page is. How can you do this in a snippet?
Let's say the sites setup is something like:
How can I use a single snippet that will return 1 when run from category1.html and 2 from product1.html ?
Looks easy enough, but I have been struggling with this for over an hour....
Edited by vampke, 30 November 2011 - 09:07 PM.