I would like to diplay the page version in a Confluence page. I know I can include the change history via macro, but that results over time in a very long list. And I am actually interested in the version and maybe the author of the change only. I don't really need the entire change log.
If you want to display the change version (and the author) in all pages of Confluence, you can do that by modifying the layout (Confluence Admin > Layouts). Click "Create Custom" for Page Layout. Depending on where you want to put this information in the page, you can add
to display the page version, and
to display the author
Just ensure that you use these variables after the line:
#set ($confPage = $helper.page)
This seems to apply only for the Default Theme. Are you using Documentation Theme as the default Confluence theme? Then you have to edit the Velocity template file in the jar file instead. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open atlassian-bundled-plugins.zip. Locate and open doctheme-x.x.x.jar file. The template file for the page is in page.vmd which resides in doctheme/decorators folder.
Which Version of Conlfuence are you using? Are yo uusing any customization?
Confluence by default shows this text under the tittle of the page:
Isn't that information enough? You get the user name and the date of the last change (much more meaningful than a versioin number).
We are using Confluence 4.2. And no, that information is not enough, as it is not included in PDFs and the very same page could be edited within a day more than once. As we also provide certain documentation to our customers, such as requirement spec, those pages need version numbers and the author of that last change.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
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