Category.Name
Version: 9.7.0 stringSummary
Returns translated Image category name.
Settings
The value is related to Image category name defianed in Settings-PIM-Image categories-the Image category.
Examples
Outputting the template tag
@GetString("Category.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Category.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Category.Name");
}
Outputting the template tag
<!--@Category.Name-->
Check if string has a value
<!--@If Defined(@Category.Name)-->
Let's output this tag here: <strong><!--@Category.Name--></strong>
<!--@EndIf(@Category.Name)-->