Forum:LastThread.Author

Version: - string  

Summary

Returns author name of last thread

Settings

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

Examples

Outputting the template tag

@GetString("Forum:LastThread.Author")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastThread.Author"); }

Outputting the template tag

<!--@Forum:LastThread.Author-->

Check if string has a value

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