Forum:Thread.Author
Version: - stringSummary
Return the author of the thread.
Settings
The value is generated automatically.
Remarks
Available for ContentAppIndexProviders with content has Form module.
Examples
Outputting the template tag
@GetString("Forum:Thread.Author")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:Thread.Author"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:Thread.Author");
}
Outputting the template tag
<!--@Forum:Thread.Author-->
Check if string has a value
<!--@If Defined(@Forum:Thread.Author)-->
Let's output this tag here: <strong><!--@Forum:Thread.Author--></strong>
<!--@EndIf(@Forum:Thread.Author)-->