Destoon calls the announcement board of the custom template and style

Source: Internet
Author: User
This article mainly introduces destoon's method of calling a custom template and style bulletin board, which is simple and practical. if you need it, you can refer to the default homepage bulletin board calling method in destoon as follows:

The code is as follows: $ Today_endtime-86400 & areaid = $ cityid & pagesize = 3 & datetype = 2 & order = listorder desc, addtime desc & target = _ blank ")}->

The template file referenced by this tag is the template/default/tag/list.htm file.

When we don't want to use this list.htm file, but want to use your own style and template, you can copy this file, the file name is changed to such as list-new.htm.

You can refer to the list.htm call rules to modify the samples and labels.

On the homepage, we can call the following method:

The code is as follows: $ Today_endtime-86400 & length = 30 & areaid = $ cityid & pagesize = 3 & datetype = 2 & order = listorder desc, addtime desc & target = _ blank & template = list-new ")}->

That is, write your own template file on the basis of the original call.

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.