How to find the current page menu level through script?
Author: Yamini
Publication Date: 11/7/2019 11:24
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!
Tags: children, execute, get_children, parent, script, webedit
0
-
Author: Yamini - 5/13/2021 8:33
Found it via navigation function..
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar