Loading...

Rename T4 Blank Template

In this guide, we will show you how to rename T4 template. You need to follow the steps in this guide, it is not just rename the template folder. In Joomla, the template is a kind of extension and its information is stored in different files, and also in the database so renaming template name needs to be done in proper ways.

Warning:

When you rename template name, you will not be able to upgrade the new version of the template for improvements & bug fixes since the upgrade is based on template name. You will need to do the upgrade manually by uploading the updated files via FTP/SFTP

Rename T4 Template name

Since the template name is also stored in the database, you have to rename the template before installation.

In this example, we will rename the template name from T4 Blank to Business.

1. Download T4 template

From the T4 Framework download page, download T4 Blank template and extract the template file

2. Rename language files

Open the folder: language/en-GB and change name for the languages files:

en-GB.tpl_t4_blank.ini to en-GB.tpl_business.ini

en-GB.tpl_t4_blank.sys.ini to en-GB.tpl_business.sys.ini

3. Update templateDetails.xml file

Open the templateDetails.xml file and update the following info:

#1. update template name

<name>t4_blank</name>

Change to:

<name>business</name>

#2. update language file names in step 2

<languages folder="language">
	<language tag="en-GB">en-GB/en-GB.tpl_t4_blank.ini</language>
	<language tag="en-GB">en-GB/en-GB.tpl_t4_blank.sys.ini</language>
</languages>

Change to:

<languages folder="language">
	<language tag="en-GB">en-GB/en-GB.tpl_business.ini</language>
	<language tag="en-GB">en-GB/en-GB.tpl_business.sys.ini</language>
</languages>

4. Update template info (optional)

The template info is shown in the template dashboard and it is defined in the language file en-GB.tpl_business.ini. The info you can update includes the template name, template description, links as shown below:

T4_TPL_DESC_1="T4 Blank"
T4_TPL_DESC_2="Your solid starting point"
T4_TPL_DESC_3="T4 Blank is a blank template for T4 Framework with the latest improvements, features and ease of usage to easily adapt it to your site."

Change to your template name and info.

T4_TPL_DESC_1="Business"
T4_TPL_DESC_2="Template short description"
T4_TPL_DESC_3="Your template info"

5. Update template thumbnail image

You can replace the template thumbnail image by replacing the 2 images:

  • template_preview.png
  • template_thumbnail.png

6. Install the template

Compress the template folder to .zip file and install to your Joomla website as normal Joomla template.