I began by creating a folder inside my
/templates, called
/default, then via FTP I copied all files from the server
/gk_twn2 into the local folder
/default
After all files been copied from server to my local machine, I opened
Dreamweaver CS5, then on toolbar, I selected the option
Edit » Find and Replace... then on
Find in: I selected my local folder
/default, selecting also on
Search drop down for:
Source Code and added on the
Find: box
- Code: Select all
gk_twn2
Then I pressed
Find All button.
By doing so, it returns me all codes with that query, making easier to find things rather than replace automatically and get errors.
So I selected one by one, replaced the original tag by
- Code: Select all
default
Which is the name of the folder I want the template to work.
Found on TemplateDetails.xml the following line:
- Code: Select all
<language tag="en-GB">en-GB.tpl_gk_twn2.ini</language>
Which I took note first, then replaced with my own:
- Code: Select all
<language tag="en-GB">en-GB.tpl_default.ini</language>
I left this line untouched, so that I can get templates updates:
- Code: Select all
var update_url = 'http://www.gavick.com/updates.raw?task=json&tmpl=component&query=product&product=gk_twn2_j16';
And all tags like this, also left those untouched:
- Code: Select all
gk_twn2_16_style
After this down, I save all changed, now, remember?
- Code: Select all
<language tag="en-GB">en-GB.tpl_gk_twn2.ini</language>
You'll find this file here:
language/en-GB
Rename it from:
- Code: Select all
en-GB.tpl_gk_twn2.ini
to:
- Code: Select all
en-GB.tpl_default.ini
And save.
Now upload the /default template via FTP to the /templates folder, go to Joomla and apply as default to see if it works.
Please note that "default" here is just an example, you can use another name.