Forum:LastThread.HasAnswer

Version: - string  

Summary

Returns True if the last thread has at least one answer.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:LastThread.HasAnswer")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastThread.HasAnswer"); }

Outputting the template tag

<!--@Forum:LastThread.HasAnswer-->

Check if string has a value

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