A template is a collection of some xml,php,html,imag files in the templates directory. These template files can be modified directly or managed through the Template Manager, background extension.
(1) Befor you Begin
Updates to the Joomla core file may include a copy of the default template, which may cause your changes to be lost. So in order to keep your changes, you need to make a backup.
(2) Copy the Template
Extensions--template management, click on the template column to enter the custom template page
There are two ways to copy a template:
Easy
Click the Copy Template button, enter the template name a copy is created in the templates directory at this time
Manually
1. Copy the template file you want to back up
2. Enter the LANGUAGE/EN-GB directory under the root directory
(Take beez3 as an example)
Copy En-gb.tpl_beez3.ini En-gb.tpl_beez3_copy.ini
Copy En-gb.tpl_beez3.sys.ini En-gb.tpl_beez3_copy.sys.ini
3. If there is also a language directory under this template, similar to the second part of the Operation
4.vim Templatedetails.xml Modified according to the following rules
<name>My_template</name><Languagetag= "EN-GB">En-gb.tpl_my_template.ini</language><Languagetag= "EN-GB">EnGB.tpl_my_template.sys.ini</language><paramname= "Template_header"type= "Folderlist"Directory= "Templates/my_template/styles/header"default=""label= "Header Templates"Description= "HEADER TEMPLATES DESCRIPTION"/><paramname= "Template_background"type= "Folderlist"Directory= "Templates/my_template/styles/background"default=""label= "Background Templates"Description= "BACKGROUND TEMPLATES DESCRIPTION"/><paramname= "Template_elements"type= "Folderlist"Directory= "Templates/my_template/styles/elements"default=""label= "Primary Elements"Description= "PRIMARY ELEMENTS DESCRIPTION"/>
(3) Discover the New Template
Select the template to install in extended management, extensions
Set as default in template management, extensions
(4) Finding Error
Debug settings, System, global settings, System
Error reporting, server, global settings, System
1.1 Modify Template Modify Templates