Hi,
First of all you have to add the option to the templateDetails.xml file:
- Code: Select all
<field name="template_color" type="list" default="1" label="TPL_GK_LANG_TEMPLATE_COLOR" description="TPL_GK_LANG_TEMPLATE_COLOR_DESC">
<option value="1">TPL_GK_LANG_COLOR_1</option>
<option value="2">TPL_GK_LANG_COLOR_2</option>
<option value="3">TPL_GK_LANG_COLOR_3</option>
</field>
then you have to edit the styleswitcher (if you use it) in the layouts/blocks/footer.php:
- Code: Select all
<div id="gkStyleArea">
<a href="#" id="gkColor1"><?php echo JText::_('TPL_GK_LANG_COLOR_1'); ?></a>
<a href="#" id="gkColor2"><?php echo JText::_('TPL_GK_LANG_COLOR_2'); ?></a>
<a href="#" id="gkColor3"><?php echo JText::_('TPL_GK_LANG_COLOR_3'); ?></a>
</div>
and finally - style the #gkColor4 element in the template.css file (of course if you will use this option).
Please remember to create also:
css/typography/typography.iconset.style4.css
css/typography/typography.style4.css
files.