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; }  #%}

Comments

Popular posts from this blog

PHP: Date Difference for PHP 5.2

HTML5 video loop src change on end play function

Custom OpenCart 2.3.0.2 theme