Thursday 01 July 2010 7:53:51 am
I'm trying to implement a notification template override for a particular object class. I can do this when the notification event type is publish. I can't seem to accomplish an override for collaboration items, however. My hunch is that the the collaboration item does not provide a class_id or class_identifier attribute on which I can match. I can get at the content object in the template with $collaboration_item.content but it looks like the content object attributes are not available to the override system. Is this correct? And if so, if I need an extension to expose the object's class to the override system, can anyone provide a hint as to how I might go about that? I have not yet been able to figure out from the kernel files how template matching works, so I'm not sure what I would need to extend.
|