Sunday, 19 April 2009 10:03

Color Chooser

Written by 
Rate this item
(0 votes)
The popular return of the color chooser in SolarSentinel makes a third appearance, in a more conservative and complimentary format. There are several options to choose from to supplement the elegance and ease of use with the template. Simply go to the template manager to change a variety of styles and colours.

Color Chooser


The options are as follows, and the areas that they control are indicative in their name:-
  • Header Style
  • Body Style
  • Background Style
  • Footer Style
  • Primary Colour
[clear][/clear]

Creating your own presets

With SolarSentinel, we provide a series of preset configurations for the color chooser which you and your visitors can select from. However, if you wish to set or change these yourself, the process is extremely simple.

  1. Login into the Joomla Administrator
  2. Go to Extensions > Template Manager > rt_solarsentinel_j15
  3. Set Preset Styles to Custom
  4. Now, choose all the options you wish from the several options available
  5. Hit the Custom Styles button in the Button menu, located in the upper right of the template manager
  6. This will output all the values into the Custom Style Output box, situated below the options. Copy the outputted code from this box
  7. Open the file styles.php which is located within the /templates/rt_solarsentinel_j15/ directory
  8. Locate the following code block.
    $stylesList = array(
    	'style1'  => array('black', 'white', 'bg-red', 'black', "#cf0404"),
    	'style2'  => array('blue', 'beige', 'bg-black', 'grey', "#2986d0"),
    	'style3'  => array('grey', 'white', 'bg-blue', 'blue', "#035b99"),
    	'style4'  => array('orange', 'beige', 'bg-grey', 'orange', "#de510b"),
    	'style5'  => array('red', 'white', 'bg-red', 'blue', "#cf230b"),
    	'style6'  => array('green', 'beige', 'bg-white', 'blue', "#4e7805"),
    	'style7'  => array('blue', 'white', 'bg-grey', 'black', "#0269b3"),
    	'style8'  => array('orange', 'beige', 'bg-black', 'black', "#de510b"),
    	'style9'  => array('black', 'white', 'bg-white', 'red', "#cc0000"),
    	'style10' => array('red', 'beige', 'bg-grey', 'grey', "#cc0000")
    );
    
  9. Edit that block to meet your needs, either by remove the code between $stylesList = array( and ); and copying in the code directly, or adding the new style code to the list of current styles or whatever method you prefer.
    [span class=alert]Ensure that you only edit the code in between $stylesList = array( and ); and ensure it is the right format otherwise you will receive errors[/span]
  10. Save, and upload the file to your site.

Additional Info

Read 264 times