(iv) PHPCMSV9 How to change the template style

Source: Internet
Author: User

There are two ways to change the style of a template:

1. Copy the default template

2, to the relevant template website download template, recommended site: http://www.moke8.com/phpcms/

First, copy the default template

Will phpcms the default template:/phpcms/templates/default This directory to copy more copies, renamed to test, and then modified the test under the config.php file, the configuration is changed:

' DirName ' = ' default ',

' Templates|default|content ' =

' Templates|default| ' =

' Templates|default|vote ' =

' Templates|default|link ' =

' Templates|default|special ' =

' Templates|default|poster ' =

' Templates|default|announce ' =

' Templates|default|wap ' =

' Templates|default|pay ' =

' Templates|default|message ' =

' Templates|default|member ' =

' Templates|default|phpsso ' =

' Templates|default|search ' =

' Templates|default|formguide ' =

' Templates|default|mood ' =

' Templates|default|yp ' =

' Templates|default|yp|com_default ' =

' Templates|default|comment ' =

Change the name of the default to rename: Test.

Back in the background to find "Settings > Related Settings > Site management >", click on the right side of the modification, template style configuration Select "Test" and select "Default Style" below, when we add Model selection template, we can select the "Test" template.

Second, download the template

Download: andkinV2 responsive phpcms Template, the list of downloaded files is as follows:

Downloaded template directory will generally have two folders: Phpcms (core template HTML file), assets (different template name, put the template file required CSS, image, JS, etc.)

Replacement instructions:

1. Upload the assets and Phpcms folders to your website root directory

After uploading, login background refresh to find the "interface" > "template Style", you can see the added template:

  

2, found in the background "Settings > Related Settings > Site management >", click on the right side of the modification, template style configuration Select "Anne Guide" and select "Default Style" below
  

3, from the background to find the "content > content Related Settings > Management Section >",
Click "Modify" on the right of the column , and select the available styles in the template settings "Anne Guide"
Column homepage and List page template select "Category_mix.html", "list_mix.html" respectively

4, update the cache, generate home page, now the template installation is complete!

(iv) PHPCMSV9 How to change the template style

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.