Forum:LastReply.Name

Version: - string  

Summary

Returns name of last reply.

Settings

The value is based on the Heading field for the forum message.

Examples

Outputting the template tag

@GetString("Forum:LastReply.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastReply.Name"); }

Outputting the template tag

<!--@Forum:LastReply.Name-->

Check if string has a value

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