kentico_radekm
-
3/12/2010 4:53:15 AM
RE:Removing site-wide web part for *one* page
Hello.
You can try to set Visible property of the web part to true/false according to e.g. document´s alias path (or other property). When you open properties of your web part, you can edit Visible property and use following macro expression, which returns true (so it is visible) according to current NodeAliasPath. For example, you can use it this way:
(example macro: {%UserName == "administrator"%} writes true) Example for you:
{%CMSContext.CurrentDocument.NodeAliasPath == "/Home"%}
This ensure that the web part will be hidden on a page with /Home alias path.
Best Regards, Radek Macalik
|