Create Post
Tags, loops and code examples available for the template responsible for creating new threads in forum.
Available tags
Forum:Thread.Author.[UserCustomFieldSystemName]
Returns value of the custom field for user who is author of the post.
RAZOR
@GetString("Forum:Thread.Author.[UserCustomFieldSystemName]")
Forum:Thread.Author.[UserCustomFieldSystemName].Name
Returns name of the custom field for user who is author of the post.
RAZOR
@GetString("Forum:Thread.Author.[UserCustomFieldSystemName].Name")
Forum:Thread.Author.[UserCustomFieldSystemName].Type
Returns type of the custom field for user who is author of the post.
RAZOR
@GetString("Forum:Thread.Author.[UserCustomFieldSystemName].Type")
Forum:Thread.Author.CustomFieldsCount
Returns count of the user custom fields.
RAZOR
@GetString("Forum:Thread.Author.CustomFieldsCount")
Available loops
Forum:Thread.Author.CustomFields
Returns list of custom field for user who is author of the thread.
RAZOR
@foreach (LoopItem item in GetLoop("Forum:Thread.Author.CustomFields")){ <p>@item.GetValue("TagName")</p> }