Documentation

How to rename Helix3 template

Introduction

Since first Joomla versions there have been big changes in the Joomla! Template Manager. Right now in Joomla 3.5+ you cannot simply rename a template folder by using FTP to change its name, because information regarding the name are stored in different locations. This is because the Joomla! template is treated as an extension, so some information is in the database as well as in the template files and language file.

Note! We do not support framework plugin rename, this guide is only for template rename.

template name

Rename before installation

This method is the simplest method. Beginner level. First please download and use newest JoomShaper template package that you can find on our download section. Then follow following steps:

    1. Rename the zip filename, example from "shaper_onepage_template_only_j3.zip" to "new_template_only_j3.zip".
    2. From package extract (unzip) templateDetails.xml file - to edit the xml file use your favorite text editor (Notepadd++ or other similar). Then rename template name inside.
      from:
       <name>shaper_onepage</name> 
      to (for example):
       <name>new</name>
    3. Also in templateDetails.xml you can change description of template.

template-description-rename

4. Rename the language file name according to new template name, for example, from:

<language tag="en-GB">en-GB.tpl_shaper_onepage.ini</language>

to

<language tag="en-GB">en-GB.tpl_new.ini</language>

5. Save changes, and then copy inside template package changed templateDetails.xm file.

6. Unzip from template package language file,  rename the language file according to new name, for example, en-GB.tpl_new.ini and copy into template zip (repack). And of course you can delete language file with old name, you don't need it anymore.
7. Install this template as a new template and set as default. Don't worry it would be independent from orginal one even if you used QuickStart before.

Remember that renamed template may not have all settings from quickstart so you have to set them manually as they were/are in "old" one looking at them. So if you are using QS uninstall old template after you will rewrite all settings.

Note: If you want change template name after installation is request changes not only in files but also in database.


Rename after installation

Sometimes you need rename template after you installed and made some changes already. This method request addcional tool, but it also quit easy. First you have to find out/choose a new name or template. This name must be used every where. If your site can be visited by users please turn on OFF-LINE mode because site will be broken for a while (few minutes). This is very important tip!

1. In template settings you can start from template rename from: "shaper_aspasia - Default" to "New - Default" or just "New"

2. Rename folder name from "templates\shaper_aspasia" to "templates\new" - or similar chosen name.

3. Rename file name from "language\en-GB\en-GB.tpl_shaper_aspasia.ini" to "language\en-GB\en-GB.tpl_new.ini"

4. Inside templates\new\templateDetails.xml file - rename line < name >shaper_aspasia< /name > to < name>new< /name >

5. Now you have to use MYSQL Manager, in most cases you will find one in your Hosting Panel. Use search option to find "shaper_aspasia" :

template MYSQL tables rename

6. Changes must be done inside only two tables: prefix_extensions and prefix_template_styles. From old template name to new name. Remember to save changes.

Newsletter