Velocity is a Java centric template markup language/syntax, and the documentation for using it seems a little Google shy for some reason… so, here it is, for me as much as anyone: Velocity markup documentation.
Tag: confluence
Displaying the current user’s profile picture in Confluence
In my current Confluence wiki project, I need to show the profile picture for the current user in the header of every page. This will help in a couple of ways:
- It gives the wiki a more human touch
- The wiki will be used in an environment where many of the people will be sharing computers, the user photo will allow them to quickly see who they are currently logged on as
I’ve googled and googled on this one, and I can’t find any current macros to do it. Bubbles, the community and social network plugin from Adaptavist, will have a macro for exactly this, but is currently in a closed beta… and I don’t need any other Bubbles functionality for this project.
Continue reading Displaying the current user’s profile picture in Confluence
Confluence link to the current page
For my current Confluence project, I’ve used Adaptavist Theme Builder to customise the View/Upload Attachments screen and I wanted to add an explicit link “back” to make it easier for users to return to the current page. I could have used Javascript, and so much of Confluence depends on client side scripting that it probably wouldn’t have been a problem… but I do like being POSH, so I wanted to keep it simple and just have a regular HTML link.
Confluence links to create pages from templates
I’m working with Confluence to create a wiki for travel agents can record their research holidays. It is hoped that their colleagues can use first hand experiences of the resorts to promote them.
We wanted to have an easy and structured way for people to add pages, for which we’re using Confluence’s templates feature. Templates allow a two step page creation process:
- Enter information into a structured form (e.g. in our hotel page template, we ask for information on the food, accomodation and view), and select “insert variables” (I know, awful button title).
- Review what you’ve entered on the standard Confluence edit page (all the information from the form fields will have been inserted at the relevant points in the page).
A great piece of functionality but too many clicks involved. To create a templated page you have to:
- Click into the space administration section (already not ideal for a “regular” staff member)
- Select space templates from the menu
- Find the template you want
- Finally, select “create page from template”
With some technical jiggery-pokery I’ve managed to get this process down to one click, “create hotel page”, and I’ve done this without cracking into Java code (which is the programming language Confluence is written in). Continue reading Confluence links to create pages from templates
Quick thoughts for 2008-01-07 (via Twitter)
- Working on projects which don’t lend themselves to version control, I’m looking at Confluence theme dev, is so nervewracking. #