How does dedecms modify the template?

Source: Internet
Author: User
I currently have a website that uses dedecms. however, now I want to revise each template. During the revision, I need to debug the effects. Does dedecms have a function that only provides the temporary preview function for the new template, editors can still send regular articles without affecting the generation of old templates. I currently have a website that uses dedecms. however, now I want to revise each template. During the revision, I need to debug the effects. Does dedecms have a function that only provides the temporary preview function for the new template, editors can still send regular articles without affecting the generation of old templates.

Reply content:

I currently have a website that uses dedecms. however, now I want to revise each template. During the revision, I need to debug the effects. Does dedecms have a function that only provides the temporary preview function for the new template, editors can still send regular articles without affecting the generation of old templates.

Currently, only the database can be downloaded to the local device for further debugging.

I am not very familiar with dedecms, But I can provide an idea: switching between old and new templates is nothing more than an html file in the template directory. You can set two directories and define different version information, when the user selects preview, it directs to the directory of the new template. In addition, templates are not necessarily related to publishing articles. The two should not be affected unless there are obvious syntax errors in the code.

Create a channel, set the template of the homepage, list page, and details page of the channel to your new template, publish several test articles on the channel, and generate Page Preview.

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.