Technology + People + Process

How to Set up a Web Part, to be visible on two pages in Kentico

How to Set up a Web Part, to be visible on two pages in Kentico

To Display web part in only one page(e.g.Home) simple macro is used in the visibility web part property.

Example:{% DocumentName|(equals)Home|(truevalue)true|(falsevalue)false%};

If you are looking to display the web part in either Home or News (two pages) Nested Macro is Used in the visibility web part.

Example:{%DocumentName|(equals)Home| (truevalue)true|(falsevalue){(1)%DocumentName\|(equals)New\|(truevalue)true\|(falsevalue)false%(1)}|(user)chandana|(hash)26e8e48fe8e5097b9791a355286a28bac23d8107efedae5802787c4f15ba9232%}


Request for Quote

Drop us a line and we'll get in touch with you as quick as we can