Forum:LastActiveThread.Title

Version: - string  

Summary

Returns text of title the last active thread.

Settings

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

Examples

Outputting the template tag

@GetString("Forum:LastActiveThread.Title")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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