asp.net - Kentico: Exclude specific pages from Breadcrumbs -
just simple question on kentico: possible exclude pages rendering cms breadcrumbs?
specifically, our users want homepage not render breadcrumbs i'm trying exclude that.
this kinda tricky. if ensure breadcrumb control has no data can hide via 'hide if no record found' settings.
set condition of breadcrumb web part following macro:
{% if(currentdocument.nodealiaspath == "/homepage"){"1=0"}else{"1=1"} #%}
obviously, have use node alias path of homepage.
set 'hide if no record found' true
.
Comments
Post a Comment