Expanding Template Styles Question - Is it Possible?

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Tue May 24, 2011 2:06 pm
I love the Gavick templates and I'm wondering how to expand the following:

I have the corporate2 template on a 1.6 installation...I want to expand the style options from the 4 provided (Red, Blue, Green & Neutral)...Basically I want them to be

Division 1
Division 2
Division 3
Division 4
Division 5
Division 6
Division 7
Division 8

Instead of the Red, Blue, etc....Where do I change the names of these list items? I have gone in to the XML and changed it there but it's pulling from somewhere and I can't seem to find out where...I've gone all through the code and the DB

TPL_GK_CORPORATE2_COLOR_1

I need to know where this is pulling from if possible...

Attached is a screen shot of the admin drop down after I made the changes to the XML...I need to find the settings for the new areas and change them...but I don't know where they are located...

Screen shot 2011-05-24 at 11.04.43 AM.png


I hope that is clear....Thanks!

Scott
User avatar
Fresh Boarder

GK User
Tue May 24, 2011 4:00 pm
Hi

Please follow this steps:

To add extra style, open ../language/en-GB/en-GB.tpl_gk_corporate2.ini
After this line:
Code: Select all
TPL_GK_CORPORATE2_COLOR_4="Neutral"


add this one:
Code: Select all
TPL_GK_CORPORATE2_COLOR_5="Dark"


Next open ../templates/gk_corporate2/layouts/blocks/footer.php
after this line:
Code: Select all
<a href="#" id="gkStyle4">Neutral</a>

add this one
Code: Select all
<a href="#" id="gkStyle5">Dark</a>


Finally, open templateDetails.xml file and after this line:
Code: Select all
<option value="4">TPL_GK_CORPORATE2_COLOR_4</option>

add this one:
Code: Select all
<option value="5">TPL_GK_CORPORATE2_COLOR_5</option>


Now create style5.css on css template directory. This will be the file for "Dark" color theme.

That's it. ;)

Cheers
User avatar
Platinum Boarder

GK User
Tue May 24, 2011 5:31 pm
You Rock! Thank you soooooo much....Man I've been looking for that forever! Thank you thank you thank you....Awesome!
User avatar
Fresh Boarder

GK User
Tue May 24, 2011 6:00 pm
awsome .... flaggin this for easier search ... :D
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.