This section is used to define the look and feel of the Control Panel header. This is
where the Recite CMS logo appears, as well as user tabs. In addition to specifying a
series of colours, you can also specify the style of Recite CMS logo to use. These are
specified calling the logo()
function with one of the following four
constants:
Application_Cp_Theme_Logo::WHITE
- An all-white logo
Application_Cp_Theme_Logo::BLACK
- An all-black logo
Application_Cp_Theme_Logo::ORIGINAL
- Recite CMS corporate colours
for a white background
Application_Cp_Theme_Logo::INVERSE
- Recite CMS corporate colours
for a dark background
The following list shows the values that can be specified, as well as how to set the logo.
Example 2.3. Specifying the header theme
<?php class Theme_sample extends Application_Cp_Theme_Default { public function getHeaderTheme() { $ret = parent::getHeaderTheme(); //$ret->logo(Application_Cp_Theme_Logo::WHITE); //$ret->logo(Application_Cp_Theme_Logo::BLACK); //$ret->logo(Application_Cp_Theme_Logo::ORIGINAL); //$ret->logo(Application_Cp_Theme_Logo::INVERSE); //$ret->navBgColor('#'); //$ret->tabActiveBgColor('#'); //$ret->tabActiveTextColor('#'); //$ret->tabBgColor('#'); //$ret->tabTextColor('#'); //$ret->tabHoverBgColor('#'); //$ret->tabHoverTextColor('#'); //$ret->optionsTextColor('#'); return $ret; } } ?>