I'm looking for a way to get the node's index number. Here's what I'm looking for, for example:
- Node
-- Subnode 1
-- Subnode 2
Now I want to use the node index in the partial view, means: "1" for Subnode 1 and "2" for Subnode 2. How would I do this? I didn't find anything by searching (or used the wrong key words).
Get node's index number
Hi everyone,
I'm looking for a way to get the node's index number. Here's what I'm looking for, for example:
Now I want to use the node index in the partial view, means: "1" for Subnode 1 and "2" for Subnode 2. How would I do this? I didn't find anything by searching (or used the wrong key words).
Thank you! Simeon
Nodes have a SortOrder property (it is set when ordering the nodes in the back office)
that is from v8 but should be something similar in v7
Hi Huw,
Thank you!
SortOrderwas what I was looking for. Although I don't want to order. I just want to follow, in which node a button is clicked.Regards, Simeon
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.