Yamini
Returning Observer

How to find the current page menu level through script?

Jump to solution

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!

0 Kudos
1 Solution

Accepted Solutions
Yamini
Returning Observer

Found it via navigation function..

View solution in original post

0 Kudos
1 Reply
Yamini
Returning Observer

Found it via navigation function..

0 Kudos