Dashboard > GreenPepper Open Documentation Refactoring > ... > 2. Configure GreenPepper Confluence plugin > Confluence Space setup
  GreenPepper Open Documentation Refactoring Log In View a printable version of the current page.  
  Confluence Space setup
Added by Laurent Cobos, last edited by Laurent Cobos on Aug 13, 2009  (view change)
Labels: 
(None)

Confluence Space setup

I. Using GreenPepper theme

The Theme is a plug-and-play plugin giving access to all GreenPepper functionalities once it has been set.
You can set the GreenPepper Theme from the Space admin panel or Global admin panel.
The drawback of using the Theme is that you will not be able to customize your layouts (e.g. page, space, template) or, if already customized, your customization will be ignored.
Two themes are available.

  1. The GreenPepper Colour Theme provides the GreenPepper colour palette.

  2. The GreenPepper Theme provides the GreenPepper colour palette and overrides the default ( or custom) page layout.The page layout automatically includes:
  • the GreenPepper header (Execute button and reference list at the top of the page)
  • the GreenPepper body (allows GreenPepper to print out test results)



Caution with the GreenPepper theme
We cannot guaranty the behavior of the theme between Confluence upgrades. We do not have control on the default page layout of Confluence. This one may vary from a version to another. We advise you to manually configure your page layout. See Confluence Plugin Setup.
Confluence 2.8 and up
If you are not using the GreenPepper Plugin v2.2+, the theme should be configured manually (see below)

II. Manual configuration

First, you need to add the following to your Page Layout:



Confluence version 2.8 and up

  You need to replace the following in your Page Layout:

<div class="wiki-content">       
  $body     
</div>
By
<table cellspacing="0" width="100%">
  #parse($greenPepper.header)
</table>
#parse($greenPepper.body)

Previous version of Confluence

Copy #parse($greenPepper.header) at the designated place in the vm. (See bellow)

## VIEW    
 #if ($mode == "view")      
 #set ($labelable = $page)      
 #permitSearchEngines()      
  <table width="100%" style="margin-bottom: 5px" cellspacing="0">        
   <tr>          
    <td align="left" valign="top">            
     <span class="smalltext">              
     #editReport()              
     #parse ("/labels/labels-include.vm")            
    </span>          
   </td>
   Test          
   <td align="right" valign="top">            
    #if(\!$action.anonymousUser && \!$action.isPrintableVersion())              
     <div style="padding: 5px; width: 40px; border: 1px solid #cccccc; margin: 0px">...            
    #end          
   </td>        
  </tr> 
<\!-\\\\\\\- PLACE THIS HERE \-->  
  #parse($greenPepper.header)  
<\!-\\\\\\\- PLACE THIS HERE \-->      
  </table>      
  #if ($helper.isHistoricalVersion())

  Then, you need to replace the following in your Page Layout:

<div class="wiki-content">       
  $body     
</div>
By
#parse($greenPepper.body)



DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators