Forum:LastActiveThread.AuthorEMail

Version: - string  

Summary

Returns email address of author of last active thread. 

Settings

The value is based on the Email field for the forum thread.

Examples

Outputting the template tag

@GetString("Forum:LastActiveThread.AuthorEMail")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:LastActiveThread.AuthorEMail"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastActiveThread.AuthorEMail"); }

Outputting the template tag

<!--@Forum:LastActiveThread.AuthorEMail-->

Check if string has a value

<!--@If Defined(@Forum:LastActiveThread.AuthorEMail)--> Let's output this tag here: <strong><!--@Forum:LastActiveThread.AuthorEMail--></strong> <!--@EndIf(@Forum:LastActiveThread.AuthorEMail)-->