Forum:Thread.AuthorEMail
Version: - stringSummary
Returns E-mail address of the thread's author,can be based on e-mail of logged extranet user.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Forum:Thread.AuthorEMail")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:Thread.AuthorEMail"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:Thread.AuthorEMail");
}
Outputting the template tag
<!--@Forum:Thread.AuthorEMail-->
Check if string has a value
<!--@If Defined(@Forum:Thread.AuthorEMail)-->
Let's output this tag here: <strong><!--@Forum:Thread.AuthorEMail--></strong>
<!--@EndIf(@Forum:Thread.AuthorEMail)-->