kentico_martind
-
5/18/2010 6:33:47 AM
RE:Multiple Macros
Hello,
Regrettably, it's not possible to use both macros this way. I would recommend creating custom macro where you check if current or parent page is 'News' page and return appropriate bool value. Alternatively, you could check if current page is 'News' or current document type (ClassName) is 'CMS.News' using following properties:
CMS.CMSHelper.CMSContext.CurrentPageInfo.DocumentName CMS.CMSHelper.CMSContext.CurrentPageInfo.ClassName
Best Regards,
Martin Dobsicek
|