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

Applying a macro to every page

Sławomir Turlej
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2011

Is there a way to apply a macro to every page in Confluence, just like enabling a space wide workflow in Ad hoc Workflows plugin ?? I need similar thing - to display component just below added by/last edited page header for every page. Maybe a decorator would help, but I don't know how to invoke a macro from a decorator.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

6 votes
Answer accepted
Alain Moran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2011

In a decorator you should be able to render a macro using

$helper.renderConfluenceMacro("{mymacro}")

TAGS
AUG Leaders

Atlassian Community Events