News:Paging.Forward

Version: - string  

Summary

Returns an URL to the next page with news items.

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.Forward")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("News:Paging.Forward"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("News:Paging.Forward"); }

Outputting the template tag

<!--@News:Paging.Forward-->

Check if string has a value

<!--@If Defined(@News:Paging.Forward)--> Let's output this tag here: <strong><!--@News:Paging.Forward--></strong> <!--@EndIf(@News:Paging.Forward)-->