Easy to search: easy to make Zencart template 6 big steps

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

According to easy search observation, a lot of foreign trade station friends are in for their own shop template and headache unceasingly, originally ambitious to do a good job, but when you use the online shop program, found Zencart program inside the default templates are not good-looking. So, looking around, looking for this to want that, the result is not to use is not complete function. And the biggest threat is insecurity, and if there's any other code embedded in it, you won't find it. This is for you to do foreign trade is not worth the candle, then, do you want to make a template of your favorite? Is there no way to suffer? Easy search today to help you solve this problem.

Step one: Re-establish the template folder

First of all, we have to understand the most basic HTML code knowledge, since it is to do their own folders, so we start with the template folder for the name, the location is located in Includes/template here is the Web site program root directory, at the beginning, Easy search found that many friends do not know where the Include folder in the end is which one, resulting in a lot of unnecessary trouble. Add a new folder after the template directory, and the name can be taken arbitrarily.

Step two: Copy template_defalut file contents to a new folder

Many people do not understand this step is why, the most confusing is since the production of their own template why or to use other template files? Easy to search a lot of information found that the file here is the system's default property files, played a role in the control of the entire site, we make template files to call inside the information.

Step three: Code to modify the name of the template file that belongs to you

Refer to the previous step, in the copied file found template_info.php this file, and then select the text Editor open, or directly with Dreamweaver edit, modify [$template _name = ' Default template ';] Default template for the template name you want. Because you want to make a system call, you must modify it here. Remember。

Step Four: Art design

Say this step is the most important, because the appearance of the page is related to your art skills. Do good of course to the foreigner's user experience is not the same, so be careful design as well. Do not know to be good to learn the software such as Photoshop.

Step five: CSS Web site layout

In your template file has a CSS file, choose the most used the STYLESHEET.CSS, modify the layout is here to modify, found in the common folder has 3 files Tpl_header.php,tpl_main_page.php,tpl_ Footer.php This is the entire site's distribution file, in these 3 files have CSS style ID and class, copy these IDs and class in stylesheet.css this style sheet to change the style of the line.

Step Six: Site template test

Testing is also a good habit, we in different browsers will find a lot of compatibility issues, which facilitates our timely modification. After the completion of the template production, open the Web site into the background, choose Tools-template selection at this time you will find that the site has been your own template file name, click Edit Editor, enable your template, in tools-layout boxes Controller inside the reset button. Then enter the home page, to see the effect. Find out why if you have a problem.

So far, complete Zencart shop template production process is over, in fact, thin, it is so simple. The most basic understanding of HTML code, pay attention to the layout of CSS, others to see your personal art understanding.

This article original creator Easy search: (http://www.zzbaike.com/wiki/ZenCart) Welcome reprint.

Related Article

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.