Hmm. Ours does not, although this may be because we are using a Refined Wiki custom template. Does anyone know the variable?
And if were to learn the variable, how would you display that on a page? I'm assuming some kind of user macro? Any quick help on how that would work? Not a dev here.
I got this all figured out for you.
## Macro title: Confluence Version ## Macro has a body: N ## Body processing: No macro body ## ## Developed by: Steven Behnke ## Date created: 28/Aug/2014 ## Installed by: ## @noparams <p>Confluence $generalUtil.versionNumber</p>
I did this by locating the footer-content.vm file. This is the template written in Velocity that Confluence uses to render the footer of course. This file is locted in ../decorators/includes/footer-content.vm
Inside that file (opened it in a text editor) I simply used the Find function to find 'version' and found this:
<ul id="poweredby"> <li class="noprint">$action.getText('powered.by.atlassian.confluence', [$action.getText('url.atlassian.software.confluence.footer'), "<span id='footer-build-information'>$generalUtil.versionNumber</span>", $action.getText('url.enterprise.wiki.footer') ])</li> <li class="print-only">$action.getText('printed.by.atlassian.confluence',["$generalUtil.versionNumber"])</li> <li class="noprint"><a href="$action.getText('url.bug.feature.request')" class="hover-footer-link">$action.getText('bug.feature.request')</a></li> <li class="noprint"><a href="$action.getText('url.footer.atlassian.news')" class="hover-footer-link">$action.getText('footer.atlassian.news')</a></li> </ul>
line holds the version of the installation. Calling this in a User Macro (which supports velocity) should just work. So I added a simple, no parameter, no body user macro (doesn't get more simple than this) and added the line. To keep it clean, I put it in a p tag and added Confluence before.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs