Gallery.List.ButtonBack
Version: - stringSummary
Returns a link to the previous page.
Settings
The value is generated automatically. The link text/image is based on the Back button input field and radio buttons in the Paging section for the paragraph module.
(Page > Paragraph > Module tab > Paging section > Back button).
Examples
Outputting the template tag
@GetString("Gallery.List.ButtonBack")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Gallery.List.ButtonBack"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Gallery.List.ButtonBack");
}
Outputting the template tag
<!--@Gallery.List.ButtonBack-->
Check if string has a value
<!--@If Defined(@Gallery.List.ButtonBack)-->
Let's output this tag here: <strong><!--@Gallery.List.ButtonBack--></strong>
<!--@EndIf(@Gallery.List.ButtonBack)-->