Workplace: Custom footer

From OpenCms Wiki
Jump to: navigation, search

The workplace foot is customizable. Color and background-color may be changed to have a better overview when working with more than one OpenCms installation. Also an additional text can be added to the standard text (or replace it).

Configuration in opencms-workplace.xml

 ...
 </default-preferences>
 <workplace-customfoot>
  <color>black</color>
  <background-color>#FFFF7F</background-color>
  <text replace="false"><![CDATA[<b style="color:red;">testserver.myhost.org</b>]]></text>
 </workplace-customfoot>
 <tool-manager>
 ...

<source> and <background-color> may contain css color - values like black or #CC00FF.

<text> may contain plain text. If markup is desired to be entered the content has to be wrapped in a <![CDATA[markup]]> section.

The replace attribute of the <text> node controls if the configured text replaces the standard footer text ("true") or is appended ("false").

If all fields are left blank, the standard footer is used:

 ...
 </default-preferences>
  <workplace-customfoot>
  <color></color>
  <background-color></background-color>
  <text replace="false"></text>
  </workplace-customfoot>
 <tool-manager> 
 ...

Example Screenshot

Workplacefooter.png

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox