Hilfe: Forum Thema TemplateThese are the template variables for the thread template.
callback.url
The url to the calling object such as an article or a user submission.
callback.label
The default label for callback.url
user.canpost
A condition indicating whether the current user can post a new message.
user.isVisitor
A condition indicating whether the current user is a visitor.
user.isModerator
A condition indicating whether the current user is a moderator.
user.isSubscribed
A condition indicating whether the current user is subscribed to this thread.
thread.layout.nested.label
The default label for thread.layout.nested.url.
thread.layout.nested.url
A url that will change the layout of the thread to nested.
thread.layout.flat.url
A url that will change the layout of the thread to flat.
thread.layout.flat.label
The default label for thread.layout.flat.url.
thread.layout.threaded.label
The default label for thread.layout.threaded.url.
thread.layout.threaded.url
A url that will change the layout of the thread to threaded.
thread.layout.isThreaded
A condition indicating whether the thread layout is threaded.
thread.layout.isNested
A condition indicationg whether the thread layout is nested.
thread.layout.isFlat
A condition indicationg whether the thread layout is flat.
thread.subscribe.url
A url that will subscribe the current user to this thread.
thread.subscribe.label
The default label for thread.subscribe.url.
thread.unsubscribe.url
A url that will unsubscribe the current user from this thread.
thread.unsubscribe.label
The default label for thread.unsubscribe.url.
thread.isSticky
A condition indicating whether the thread is sticky.
thread.stick.url
A url that will make this thread sticky.
thread.stick.label
The default label for thread.stick.url.
thread.unstick.url
A url that will make a sticky thread unstick.
thread.unstick.label
The default label for thread.unstick.url.
thread.isLocked
A condition indicating whether this thread is locked.
thread.lock.url
A url that will lock this thread.
thread.lock.label
The default label for thread.lock.url.
thread.unlock.url
A url that will unlock this thread.
thread.unlock.label
The default label for thread.unlock.url.
post_loop
A loop containing all the posts in this thread.
post.indent_loop
A loop to be used for indenting.
depth
An integer indicating the depth. Not really useful, just hear to fill out the loop.
post.indent.depth
An integer indicating how many levels deep this post is.
post.isCurrent
A condition indicating whether this post is the one selected for viewing by the user.
NOTE: All of the variables from the post template are also available here.
thread.subject.label
The default label for subjects.
thread.date.label
The default label for dates.
thread.user.label
The default label for authors.
thread.new.url
A url to create a new url.
thread.new.label
The default label for thread.new.url.
thread.previous.url
A url that will display the previous thread.
thread.previous.label
The default label for thread.previous.url.
thread.next.url
A url that will display the next thread.
thread.next.label
The default label for thread.next.url.
thread.list.url
A url to take the user back to the thread list (aka the forum).
thread.list.label
The default label for thread.list.url.
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: |