hi
i need macro for show cms:CMSConditionalLayout in custom document Type....
i have CMS.Mahsul is a document Type i need macro for Visible just for this document...
<cms:CMSConditionalLayout runat="server" ID="ConditionLayout" Visible='<%# CurrentDocument.DocumentName|(Equal)"CMS.Mahsul"%>' ></cms:CMSConditionalLayout>
PLZ Help me
You can use the CurrentDocument.ClassName property to compare your doc types.
HI plz help me more about this macro for compare
Thank you
You can use <cms:CMSConditionalLayout runat="server" id="conditionalLayout" VisibleForDocumentTypes="CMS.Mahsul">
<cms:CMSConditionalLayout runat="server" id="conditionalLayout" VisibleForDocumentTypes="CMS.Mahsul">
hi i use but do not show Zone in design.
i use kentico cms 8 for last hotfix...
Plz HelP ME
Please, sign in to be able to submit a new answer.