How do I get the children of a specific page ?

Alex Zaeper September 4, 2011

Hi,

when I use $page.children I got all children of the current page.

I want to get the children of a specific page like $mypage.children .

Is there a function or does anybody know how to get a list/array of the children of a specific page ?

Thanks

1 answer

0 votes
Alex Zaeper September 4, 2011

Ok,

I made an if else construct to set the specified page. Then I use $page.children.

If anyone wanna know exactly, just ask.

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 4, 2011

Also, look at the renderChildren macro in macros.vm for additional clues :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events