DwSearchResultBack

Version: - string  

Summary

Returns a link to the previous page with search results.

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 panel > Back button)

Examples

Outputting the template tag

@GetString("DwSearchResultBack")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("DwSearchResultBack"); }

Outputting the template tag

<!--@DwSearchResultBack-->

Check if string has a value

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