Forum:Thread.Name

Version: - string  

Summary

Return the name of a forum thread. 

Settings

The value is generated automatically.

Remarks

Available for  ContentAppIndexProviders with content has Forum module only. 

Examples

Outputting the template tag

@GetString("Forum:Thread.Name")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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