Posts

Showing posts from October 15, 2018

Kentico Visible Webpart on parent page and hidden on child page

This should be returning true and display the field when I'm on this page /My-Parent/Tester and will hidden this page when page is /My-Parent. {% if(CurrentDocument.NodeLevel == 1 && ViewMode == "LiveSite") { return false; } #%}