The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
Atlassian Partner
September 4, 2011

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

TAGS
AUG Leaders

Atlassian Community Events