destoon Call the Bulletin Board of Custom Templates and Styles

  • 2021-07-02 23:46:11
  • OfStack

The default homepage bulletin board call method in destoon is as follows:

<! In fact, in fact, the {tag( " table=announce&condition=totime=0 or totime>$today_endtime-86400&areaid=$cityid&pagesize=3&datetype=2&order=listorder desc,addtime desc&target=_blank " )} In fact, in fact, the >

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

When we don't want to use the list. htm file and want to use our own styles and templates, we can make a copy of this file and change the file name to, for example, list-new. htm.

Styles and labels can be changed by themselves with reference to list. htm invocation rules.

At this time, on the home page, we can call the method as follows:

<! In fact, in fact, the {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 " )} In fact, in fact, the >

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


Related articles: