destoon custom template calling method destoon style bulletin board

WBOY
Release: 2016-07-25 09:11:51
Original
1536 people have browsed it

destoon custom template calling method destoon style bulletin board

The default homepage bulletin board calling method in destoon:

  1. $today_endtime-86400&areaid=$cityid&pagesize=3&datetype=2&order=listorder desc,addtime desc&target=_blank”)}–>
Copy code

The template file referenced by this tag is the template/default/tag/list.htm file. If you don't want to use this list.htm file, but want to use custom styles and templates, you 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.

Now on the homepage, use the following calling method:

  1. $today_endtime-86400&length=30&areaid=$cityid&pagesize=3&datetype=2&order=listorder desc,addtime desc&target=_blank&template=list-new” )}–>
Copy the code

that is, write your own template file based on the original call.

Recommended reading: destoon introductory tutorials and skill examples


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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!