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

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -