List Forum
Tags, loops and code examples available for the root page of the forum / listing of forum categories.
Available tags
Forum:Global.Category.IsModerated
Returns True if category has any active moderators attached.
RAZOR
@GetBoolean("Forum:Global.Category.IsModerated")
Forum:Global.ParagraphID
Returns ID of the parent Paragraph housing the forum module.
RAZOR
@GetInteger("Forum:Global.ParagraphID")
Forum:Global.User.Email
Returns E-mail of the currently logged in Extranet user.
RAZOR
@GetString("Forum:Global.User.Email")
Forum:Global.User.ID
Returns ID of the currently logged in Extranet user.
RAZOR
@GetInteger("Forum:Global.User.ID")
Forum:Global.User.Name
Returns username of the currently logged in Extranet user.
RAZOR
@GetString("Forum:Global.User.Name")
Available loops
Categories
This Loop contains all metadata related to a forum category (e.g. category name, moderators, last active thread).
RAZOR
@foreach (LoopItem item in GetLoop("Categories")){ <p>@item.GetValue("TagName")</p> }