News:Paging.List
Version: - stringSummary
Returns a list of page numbers.
Settings
The value is generated automatically.
Remarks
Requires that you have chosen Page numbers or Forward/back buttons in Paging type under the paragraph settings and the number of news exceeds number of the selected Items per page.
Examples
Outputting the template tag
@GetString("News:Paging.List")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("News:Paging.List"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("News:Paging.List");
}
Outputting the template tag
<!--@News:Paging.List-->
Check if string has a value
<!--@If Defined(@News:Paging.List)-->
Let's output this tag here: <strong><!--@News:Paging.List--></strong>
<!--@EndIf(@News:Paging.List)-->