Users.DwPaging.TypeOfNextButton
Version: -Summary
Returns the type of the Next button in frontend.
Settings
The value is based on the selection of 'Next' button type in the paragraph settings of the module.
(Paragraph > Module settings > Paging panel > 'Next' button type)
Remarks
Tag is only available if Activated checkbox is enabled in Extranet module settings in Paging section.
Examples
Outputting the template tag
@GetObject("Users.DwPaging.TypeOfNextButton")
Check if tag has a value
@if(!var.IsNullOrWhiteSpace(GetObject("Users.DwPaging.TypeOfNextButton"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
var storedTag = GetObject("Users.DwPaging.TypeOfNextButton");
}
Outputting the template tag
<!--@Users.DwPaging.TypeOfNextButton-->
Check if object has a value
<!--@If Defined(@Users.DwPaging.TypeOfNextButton)-->
Let's output this tag here: <strong><!--@Users.DwPaging.TypeOfNextButton--></strong>
<!--@EndIf(@Users.DwPaging.TypeOfNextButton)-->