Workplace: Custom footer
From OpenCms Wiki
(Difference between revisions)
(Configuring a custom Workplace footer.) |
(→Configuration in opencms-workplace.xml) |
||
Line 20: | Line 20: | ||
The '''replace''' attribute of the '''<text>''' node controls if the configured text replaces the standard footer text ('''"true"''') or is appended ('''"false"'''). | 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: | ||
+ | <source lang="xml"> | ||
+ | ... | ||
+ | </default-preferences> | ||
+ | <workplace-customfoot> | ||
+ | <color></color> | ||
+ | <background-color></background-color> | ||
+ | <text replace="false"></text> | ||
+ | </workplace-customfoot> | ||
+ | <tool-manager> | ||
+ | ... | ||
+ | </source> | ||
===Example Screenshot=== | ===Example Screenshot=== | ||
[[Image:Workplacefooter.png]] | [[Image:Workplacefooter.png]] |
Latest revision as of 14:38, 17 August 2009
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> ...