Forum:LastThread.Created
Version: - dateSummary
Returns the timestamps for the creation of the last thread.
Settings
The value is generated automatically.
Remarks
Available for ContentAppIndexProviders only with content has Forum module.
Examples
Outputting the template tag
@GetDate("Forum:LastThread.Created")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("Forum:LastThread.Created"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("Forum:LastThread.Created");
}
Outputting the template tag
<!--@Forum:LastThread.Created-->
Check if date has a value
<!--@If Defined(@Forum:LastThread.Created)-->
Let's output this tag here: <strong><!--@Forum:LastThread.Created--></strong>
<!--@EndIf(@Forum:LastThread.Created)-->