kentico_borisp
-
12/16/2011 7:08:07 AM
RE:Hiding Page Elements when viewing in CMSDesk
Hello,
You can use the following K# expression in the Visible property of your web part:
{% if(Cookies.viewmode == 0) {return true;} else {return false;} %}
The viewmode is 0 only on the live site.
Best regards, Boris Pocatko
|