Customizing a Specific Page
If you'd like to change the appearance of a specific page, you can modify the corresponding Velocity template. Here's how to find out which one:
- Access the page. Note the name of the action. For example, the "Contact Administrators" page is
- Browse to <confluence-install>/confluence/WEB-INF/lib/confluence-x.y.jar. Copy the file.
- Unzip or unjar the file using a standard unzipper or the java jar utility.
Open xwork.xml. Search the file for the name of the action corresponding to the page you'd like to modify. You'll see an entry like:
<action name="administrators" class="com.atlassian.confluence.user.actions.AdministratorsAction"> <interceptor-ref name="defaultStack"/> <result name="success" type="velocity">/administrators.vm</result> </action>
- The file to look for is the vm or vmd file. In the above example, it's administrators.vmd. Because there is no context path (just a / before the name of the file), its in the root of the Confluence webapp. For the stand-alone, that's <confluence-install>/confluence folder.
- Modify the file.
For details on how to configure the file, check the Velocity Template Overview.