Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use SpecialList and SpecialPage tags

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Most people do not understand the knowledge points of this article "how to use SpecialList and SpecialPage tags", so the editor summarizes the following, detailed contents, clear steps, and certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to use SpecialList and SpecialPage tags" article.

Function: get a list of topics.

Implementation class

Com.jspxcms.core.web.directive.SpecialListDirective

Com.jspxcms.core.web.directive.SpecialPageDirective

Parameters.

SiteId: site ID. Several are separated by English commas, such as' 1Jing 2JO5'. The default is the current site, and if you want to get data from all sites, you can pass the empty string''.

CategoryId: topic category ID. Several are separated by English commas, such as' 1Jing 2JO5'.

BeginDate: start time. Type: Date. Such as. Now, '2012-06-03. The Magna 2000-10-18T23 purse 45 purl 09'.

EndDate: end time. Type: Date. Such as. Now, '2012-06-03. The Magna 2000-10-18T23 purse 45 purl 09'.

IsWithImage: whether there is a title diagram. Type: boolean. Such as' true','false'.

IsRecommend: whether or not recommended. Type: boolean. Such as' true','false'.

Example

Get a list of all topics for the current site:

[@ SpecialList limit='8';list] [# list list as special] ${special.title} [/ # list] [/ @ SpecialList]

Get a list of all topics for the current theme category (this example is used in the theme category page, which has a default theme category object category):

[@ SpecialList categoryId=category.id limit='8';list] [# list list as special] ${special.title} [/ # list] [/ @ SpecialList]

Example of a paged label:

[@ SpecialPage categoryId=category.id pageSize='20' PagedList] [# list pagedList.content as special] ${special.title} [/ # list] [#-including paging templates -] [# include 'page.html'/] [/ @ SpecialPage] the above article is about "how to use SpecialList and SpecialPage tags". I believe you all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about it, Please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report