News:Paging.Back

Version: - string  

Summary

Returns an URL to the previous 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.Back")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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