Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Getting sitemesh property "page.tree"

Felix Hammann November 25, 2012

Hi all,

I have problems to get the property "page.tree" or "page.theme-navigation" in my own confluence theme/design. I currently use:

$!sitemeshPage.getProperty("page.theme-navigation")
$!sitemeshPage.getProperty("page.tree")

but without success (no output). The output of $!sitemeshPage.getProperties() does not show me any of these 2 keys. I have installed Atlassian Confluence 4.1.6.

Edit: I have updated my confluence to version 4.3.3 - it doesn't has any effect to my problem.

Has anybody an idea? I have copied this code from the doctheme plugin - why I can't use it on my own plugin?

Thanks,

Felix

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Felix Hammann November 29, 2012

Finally, I found the andwer myself... it's as simple as stupid of me, I only need to render the confluence macro pagetree in the page.vmd template:

$helper.renderConfluenceMacro("{pagetree}")

TAGS
AUG Leaders

Atlassian Community Events