How to use GuestbookList and GuestbookPage tags
This article introduces the relevant knowledge of "how to use GuestbookList and GuestbookPage tags". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Function: get message list and message paging.
Implementation class
Com.jspxcms.ext.web.directive.GuestbookListDirective
Com.jspxcms.ext.web.directive.GuestbookPageDirective
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''.
Type: message type coding.
TypeId: message type ID.
IsRecommend: whether or not recommended. Type: boolean. Such as' true','false'.
Status: status. Default: audited.
Example
Get a list of all topics for the current site:
This is the end of [@ GuestbookList;list] [# list list as guestbook] ${guestbook.creator.username} {guestbook.text!} [/ # list] [/ @ GuestbookList] "how to use GuestbookList and GuestbookPage tags". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!