NewsManchet_ctrl
Version: - stringSummary
Returns a text area for the news item teaser text.
Settings
The value is generated automatically.
Remarks
The value is returned as a HTML code snippet containing a textarea tag.
Examples
Outputting the template tag
@GetString("NewsManchet_ctrl")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("NewsManchet_ctrl"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("NewsManchet_ctrl");
}
Outputting the template tag
<!--@NewsManchet_ctrl-->
Check if string has a value
<!--@If Defined(@NewsManchet_ctrl)-->
Let's output this tag here: <strong><!--@NewsManchet_ctrl--></strong>
<!--@EndIf(@NewsManchet_ctrl)-->