Forum:Message.Name

Version: - string  

Summary

Returns the name of the message.

Settings

The value is based on the Heading field for the forum thread/post.

Examples

Outputting the template tag

@GetString("Forum:Message.Name")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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