Forum:LastReply.Body

Version: - string  

Summary

Returns text of body the last reply.

Settings

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

Examples

Outputting the template tag

@GetString("Forum:LastReply.Body")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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