Template name change

GK User
Sun Apr 15, 2012 2:43 pm
Hi,
I purchased a template from your Financial Business.
How exactly (so that no errors), I can rename the folder with the template? For example, instead of / templates / gk_finance_business have templates / nazwa_firmy?
Exactly which files to edit, so that all work?

Thank you in advance for your help.
Luke
User avatar
Fresh Boarder

teitbite
Wed Apr 18, 2012 6:57 pm
Hi

This is pretty simple. First You need to rename the folder, than search all template's files to replace the old path to a new one where needed. As last You will have to replace path and name in database table about templates.
User avatar
Moderator

GK User
Wed Apr 18, 2012 10:52 pm
Hi,
Some of these actions have done more properly. However, it is more accurate data on the database? Where there make a difference? Apart from the template folder should also look for some links and other folders (eg modules? Components?)

Hi,
Część z tych czynności wykonałem raczej poprawnie. Jednak można dokładniejsze dane odnośnie bazy danych ? Gdzie tam dokonać zmian ? Czy poza folderem template powinienem również szukać jakiś odnośników i innych folderach (np. moduły? komponenty?)
User avatar
Fresh Boarder

teitbite
Fri Apr 20, 2012 2:32 am
Hi

Only in tables: __template_styles and __extensions.

You can also try to change the name in .xml file of a clean installation, pack it one more time and install with joomla installer, but this will not affect paths inside template files, so it will need to be done manualy.
User avatar
Moderator

GK User
Fri Apr 20, 2012 4:34 pm
What should I change the table _extension? After the change in the table _template_style and renaming the folder on the ftp site, there was a problem. He disappeared in the admin panel template, and the preview page only appears white page (with nothing).
User avatar
Fresh Boarder

teitbite
Sun Apr 22, 2012 12:13 am
Hi

For joomla template is being treated as an extention, so You should have it's name in __extention table too.

Try maby the other solution to rename only the name inside template files, pack it and install then using joomla instalator. This way it should create folder and database entries according to settings from templateDetails.xml file.
User avatar
Moderator


cron