News:CategoryDescription
Version: - stringSummary
Returns the description of the news category.
Settings
The value is based on the Description field for the news category.
(Moldules - News - Category - Description)
Remarks
The tag is also available in notification emails.
Examples
Outputting the template tag
@GetString("News:CategoryDescription")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("News:CategoryDescription"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("News:CategoryDescription");
}
Outputting the template tag
<!--@News:CategoryDescription-->
Check if string has a value
<!--@If Defined(@News:CategoryDescription)-->
Let's output this tag here: <strong><!--@News:CategoryDescription--></strong>
<!--@EndIf(@News:CategoryDescription)-->