The default homepage bulletin board calling method in destoon is as follows:
Copy code 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 the styles and templates we wrote, we can make a copy of this file and change the file name to, for example, list-new.htm.
Styles and tags can be modified by referring to the list.htm calling rules.
At this time, we can call the method as follows on the homepage:
Copy code 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 based on the original call.
http://www.bkjia.com/PHPjc/825466.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825466.htmlTechArticleThe default homepage bulletin board calling method in destoon is as follows: Copy the code as follows: !–{tag(“table= announcegt;$today_endtime-86400pagesize=3order=listorder desc,addtime descgt; This...