Hilfe: Forum TemplateThe following template variables are available in forum templates.
callback.url
A url that points to the calling object, such as an article or user submission.
callback.label
The default label for callback.url.
user.isVisitor
A condition indicating whether the user is a visitor.
thread.new.url
The url to start a new thread.
thread.new.label
The default label for thread.new.url.
forum.search.label
The default label for forum.search.url.
forum.search.url
The url to access the forum search engine.
forum.subscribe.label
The default label for forum.subscribe.url.
forum.subscribe.url
The url to subscribe to this forum.
forum.unsubscribe.label
The default label for forum.subscribe.url.
forum.unsubscribe.url
The url to unsubscribe from this forum.
user.isSubscribed
A condition indicating whether the current user is subscribed to this forum.
user.isModerator
A condition indicating whether the current user is a moderator for this forum.
user.canPost
A condition indicating whether the current user has the privileges necessary to post to this forum.
thread.sortby.date.url
A url that will change the sorting options to be sorted by date.
thread.sortby.lastreply.url
A url that will change the sorting options to be sorted by the date of the last reply to the thread.
thread.sortby.views.url
A url that will change the sorting options to be sorted by the number of views each thread has.
thread.sortby.replies.url
A url that will change the sorting options to be sorted by the number of replies a thread has.
thread.sortby.rating.url
A url that will change the sorting options to be sorted by the average rating of each thread.
thread.subject.label
A label for the subject column.
thread.date.label
A label for the date column.
thread.user.label
A label for the author column.
thread.views.label
A label for the views column.
thread.replies.label
A label for the replies column.
thread.rating.label
A label for the rating column.
thread.last.label
A label for the last reply column.
firstpage
A link to the first page in a multi-page listing.
lastpage
A link to the last page in a multi-page listing.
nextpage
A link to the next page in a multi-page listing.
pagelist
A series of links to every page in a multi-page listing.
previouspage
A link to the previous page in a multi-page listing.
multiplepages
A condition indicating whether there are multiple pages or not.
numberOfPages
The number of pages in a multiple page listing.
pageNumber
The number of the current page in a multi-page listing.
thread_loop
A loop containing all of the thread data.
thread.views
The number of views this thread has had.
thread.replies
The number of replies this thread has had.
thread.rating
The average rating of all the posts in this thread.
thread.rating_loop
thread.rating_loop.count
A counter for the rating. This can be used to "draw" a rating, such as adding a star for each rating, or some other visual approach.
thread.isSticky
A condition indicating whether the thread is sticky and hence will appear at the top of the forum listing.
thread.isLocked
A condition indicating whether the thread is locked from new posts.
thread.root.subject
The subject of the root post in this thread.
thread.root.url
The url to view the root post.
thread.root.epoch
An epoch date of the root post.
thread.root.date
A human readable date for the root post.
thread.root.time
A human readable time for the root post.
thread.root.user.id
The root poster's user id.
thread.root.user.name
The username of the root poster.
thread.root.user.profile
The url of the root poster's profile.
thread.root.user.isVisitor
A condition indicating whether the root poster was a visitor.
thread.root.status
The status of the root post.
thread.last.subject
The subject of the last post made to this thread.
thread.last.url
The url to the last post.
thread.last.epoch
The post time of the last post represented as an epoch.
thread.last.date
The human readable date of the last post.
thread.last.time
The human readable time of the last post.
thread.last.user.profile
The url of the last posters profile.
thread.last.user.id
The userId of the last poster.
thread.last.user.name
The username of the last poster.
thread.last.user.isVisitor
A condition indicating whether the last poster was a visitor.
thread.last.status
The status of the last post.
forum.title
The title of this forum as passed by the calling object.
forum.description
The description of this forum as passed by the calling object.
Siehe auch: |