Modification or design of wdcp interface template in wdcp tutorial

Source: Internet
Author: User
The modification or design of the wdcp interface template starts with wdcp2.X and is templated, that is, the interface and program separation. you can customize the template or set your own interface as long as you like, the default installation directory of wdcp is in the/www/wdlinux/wdcp Directory. the default template is in/www/wdlin... Wdcp Interface Template modification or design
At the beginning of wdcp2.X, it is templated, that is, the interface is separated from the program. you can customize the template or set your own interface, as long as you like, you can do anything nice.

The default installation directory of wdcp is in the/www/wdlinux/wdcp directory.
The default template is in/www/wdlinux/wdcp/templates
For example




1. download a template file first, and then modify or design it accordingly (you must follow the format or tag of the original template; otherwise, the template will become abnormal)
2. create a new template directory under/www/wdlinux/wdcp, such as templates_me
Such as/www/wdlinux/wdcp/templates_me
3. Upload your template file to the/www/wdlinux/wdcp/templates_me/Directory (the file cannot be opened in the background by using a tool such as winscp .)
4. set the template directory in the background system settings, as shown in figure



Save and refresh.

Note::
1. view and modify the corresponding file name and design your own page.
2. the file name and directory structure must be the same as the original one; otherwise, the default template will be used.
3. the format of the template file. the tag must also be called according to the original tag Call Format. Otherwise, it may be abnormal.
4. the version and connection information of wdlinux must be retained.

Remarks
If you have not designed a template for all pages, you only need to upload the designed template page to the configured directory, the system automatically calls the files in the default template directory, that is, the templates directory.
Change the login.htm file
In the MB directory, you only need the login.htm file.
If there are no files in the new template directory, the system will call the file template in the default templates directory.
 

This article is taken from the wdlinux Forum http://www.wdlinux.cn/bbs/. for more information, see!

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.