I developed macro, and in confluence page it works perfect.
But, when I try to use my macro in Documentation Theme Configuration (header or footer) - as wiki markup, I always receive 'Unknown macro: {back-button}'.
Code:
<xhtml-macro key="confluence-back-button-macro" name="back-button" ... >
I try to use "confluence-back-button-macro" and receive 'Unknown macro: {confluence-back-button-macro}'.
Community moderators have prevented the ability to post new answers.
The Documentation theme uses wiki markup, whereas Confluence macros that are written for Confluence 4.0 and above do not support wiki markup.
There are 2 things you can try to get your macro working in the Documentation Theme header.
1. Try wrapping your macro in a user macro -- easiest. The user macro may work OK in the header.
2. Re-write your <xhtml-macro /> as an old fashioned <macro /> -- harder. Then base the Confluence 4+ <xhtml-macro /> off the Confluence 3.5 & below <macro />
Try with the user macro wrapper first - it's much easier and might just work ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.