Is it possible to hide/format a block of code in the templates according to whether the entry has a given attribute set or not? What I would like to set up: We use several attributes for most of our documents (such as "Company number" or "Valid from date" etc.) that are mostly strings or dates, not booleans. At the same time, there are some kinds of documents that do not use these attributes. They are even located in a different folder so the mentioned attributes do not apply to these documents. However, our main DMX page uses a templated view where all those attributes are displayed together with labels or a special formatting (e.g. the Company number attribute is followed by a slash and the entry version number). As this is the main DMX page, links in notification e-mails for all documents point to this page. So when a "nonstandard" document is displayed on this page, it "breaks" the layout of the template as it does not have all the attributes. I would like to hide the labels for the missing attributes or even load different templates based on the presence of the attribute. In case of boolean attributes it can be more or less solved by using the conditional formatting of this type of attribute ([entryattribute:Att_Invalid|block; none]) but it is not usable for other types. Thanks for your advice, Pavel |