1.1 Modify Template Modify Templates

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.