kentico_radekm
-
12/14/2009 9:03:25 AM
RE:Turning zones off based on location
Hello Lauren.
You can ensure it by a very simple way. Please go to CMSDesk -> Content -> Edit -> Design mode, open zone´s Properties and click little black trigon for "Visible" property. Here you can use this macro expression: {%CurrentDocument.NodeAlias != "/<node alias>"%}. <node alias> you can find on document´s Properties ->General tab. This macro returns false if the document (node) alias path is <something>, so the visibility is set to false and the layout is hidden.
More info about macros you can see here: http://devnet.kentico.com/docs/4_1/devguide/index.html?appendix_a___macro_expressions.htm
Best Regards, Radek Macalik Support Engineer
|