Color presets busted in the new 1.5 quickinstall package

GK User
Mon Aug 22, 2011 10:34 pm
In templateDetails.xml the color presets look like this:

Code: Select all
<params addPath="/templates/gk_finance_business/admin">
            <param type="spacer" default="Presets" />
            <param name="template_color" type="list" default="1" label="Template color" description="Select color of the template">
                  <option value="1">blue</option>
                  <option value="2">red</option>
                  <option value="3">green</option>
            </param>



It's missing the color orange and they are in the wrong order

I think this is the fix (using the style switcher at the bottom of the page as a reference)Hope this helps, I was really confused at first!

Code: Select all
<params addPath="/templates/gk_finance_business/admin">
            <param type="spacer" default="Presets" />
            <param name="template_color" type="list" default="1" label="Template color" description="Select color of the template">
                  <option value="1">blue</option>
                  <option value="2">green</option>
                  <option value="3">orange</option>
                  <option value="4">red</option>
            </param>
User avatar
Fresh Boarder

cron