Home > Backend Development > PHP Tutorial > destoon calls the bulletin board with custom templates and styles_PHP tutorial

destoon calls the bulletin board with custom templates and styles_PHP tutorial

WBOY
Release: 2016-07-13 10:24:24
Original
1310 people have browsed it

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.

www.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...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template