Hi community,
How do I find the level a page while inside a script, lets say I am using a script on a particular template in "Page content area" then I need to know whether its a parent template or a child element?
In case its a child element the script should not be executed and if its a parent element the script is executed.
How do I achieve this?
Thanks!