Hi there,
we are in the process of upgrading Confluence 4.3.7 to 5.4.2 (and than latter on to 5.8.x).
After the upgrade we've noticed the Adaptavist Theme Builder plugin does not include this macro:
(space-descripton)
Please advice how can we include the above macro since this change is affecting us quite heavily.
Thank you.
Regards
Dean D. Babic
Hi,
we don't remember having a macro called space-description in any version of ThemeBuilder. There is a way to get the space description with the new panel-info macro in ThemeBuilder http://www.adaptavist.com/doco/display/tb/Panel+Info
I suspect you have many pages using a macro called 'space-description'. To make the macro work without changing all the pages you could add a user macro which calls the ThemeBuilder panel-info macro:
## @noparams $action.getHelper().renderConfluenceMacro("{panel-info:type=space.description}")
All the pages using the space-description macro should now show the information.
If you want to create a user macro that doesn't use the ThemeBuilder panel-info macro then use this code:
## @noparams #set ( $spaceDescription = $space.getDescription() ) <p>$spaceDescription.getBodyAsString()</p>
Hope this helps
Sharon
Senior Webmaster | Adaptavist
Hi Sharon,
Just adding to my colleagues comments - when editing the 'Space Description' macro and you click on the documentation link, it attempts to take you to:
http://www.adaptavist.com/display/Builder/space-descripton+macro
which then redirects you to:
http://www.adaptavist.com/w/products-plugins/premium/themebuilder/
Hope this info is of value.
Regards
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sharon,
thank you for your reply and provided solution. The Adaptavist Theme Builder is ver. 4.4.1 with Confluence ver. 4.3.7
Kind Regards
Dean D. Babic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.