DwSearchResultPath
Version: - stringSummary
Returns the breadcrumb path.
Settings
The value is generated automatically.
Remarks
You need to enable Breadcrumb trail in the Breadcrumb trail section in the module settings for Search(v1/weighted) module.
Examples
Outputting the template tag
@GetString("DwSearchResultPath")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DwSearchResultPath"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DwSearchResultPath");
}
Outputting the template tag
<!--@DwSearchResultPath-->
Check if string has a value
<!--@If Defined(@DwSearchResultPath)-->
Let's output this tag here: <strong><!--@DwSearchResultPath--></strong>
<!--@EndIf(@DwSearchResultPath)-->