Page:Ecom.ProductList.Pages.Page.Url
Version: - stringSummary
Returns the URL to the given page.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Page:Ecom.ProductList.Pages.Page.Url")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Page:Ecom.ProductList.Pages.Page.Url"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Page:Ecom.ProductList.Pages.Page.Url");
}
Outputting the template tag
<!--@Page:Ecom.ProductList.Pages.Page.Url-->
Check if string has a value
<!--@If Defined(@Page:Ecom.ProductList.Pages.Page.Url)-->
Let's output this tag here: <strong><!--@Page:Ecom.ProductList.Pages.Page.Url--></strong>
<!--@EndIf(@Page:Ecom.ProductList.Pages.Page.Url)-->