Forum:LastActiveThread.Body
Version: - stringSummary
Returns body text within last active thread.
Settings
The value is based on the Text field for the forum thread.
Examples
Outputting the template tag
@GetString("Forum:LastActiveThread.Body")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:LastActiveThread.Body"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:LastActiveThread.Body");
}
Outputting the template tag
<!--@Forum:LastActiveThread.Body-->
Check if string has a value
<!--@If Defined(@Forum:LastActiveThread.Body)-->
Let's output this tag here: <strong><!--@Forum:LastActiveThread.Body--></strong>
<!--@EndIf(@Forum:LastActiveThread.Body)-->