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