Destoon _php instance of a bulletin board calling custom templates and styles

Source: Internet
Author: User

The default home bulletin board call method in Destoon is as follows:

Copy Code code as follows:
<!–{tag ("table=announce&condition=totime=0 or totime> $today _endtime-86400&areaid= $cityid & Pagesize=3&datetype=2&order=listorder desc,addtime Desc&target=_blank ")}–>

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

When we don't want to use this list.htm file and want to use our own style and template, we can copy the file and change the file name to List-new.htm for example.

Styles and labels can be changed by reference to the list.htm calling rules.

At this time on the home page we can call the following method:

Copy Code code as follows:
<!–{tag ("table=announce&condition=totime=0 or totime> $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.

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.