× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Template color

10 years 6 months ago #1051 by leozitus
leozitus created the topic: Template color
I'd like to change the template color to "Maroon" switch the "Style Switcher" to "Disable" but when I do this in the configuration panel, the color "light blue" is set and the Maroon color disappear. I'm using Joomla 1.6.

Please Log in or Create an account to join the conversation.

  • admin
  • admin's Avatar
10 years 6 months ago - 10 years 6 months ago #1056 by admin
admin replied the topic: Re: Template color

There was the small but significant bug in the xml of the template.
In the templateDetails.xml file of the jm-busienss02 template you fill find the following code:
<field name="template_color" type="list" default="1" label="TPL_JM-BUSINESS02_FIELD_TEMPLATECOLOR_LABEL" description="TPL_JM-BUSINESS02_FIELD_TEMPLATECOLOR_DESC">
		            <option value="1">TPL_JM-BUSINESS02_OPTION_BLUE</option>
		            <option value="2">TPL_JM-BUSINESS02_OPTION_GREEN</option>
		            <option value="3">TPL_JM-BUSINESS02_OPTION_LIGHTBLUE</option>
			    <option value="3">TPL_JM-BUSINESS02_OPTION_MAROON</option>

The last 2 options has the same value "3" which was the reason of the problem.
It's enough to replace the last "3" with "4" and to solve it.
I will send you the fixed template on your mail box.
Last Edit: 10 years 6 months ago by admin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.172 seconds


ul. Przyjaźni 9, 84-215 Gowino, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2021 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.