Friday 23 May 2003 1:20:58 am
I have a custom template for an article object that contains an embedded object. When displaying the embedded object using
{attribute_view_gui attribute=$node.object.data_map.related_object}
all I get is the name of the related object. Ideally, I would like to display a number of the attributes of the related object here. Looking through the forums and howto documents, it appears that some people have had some success by placing an embed_class_XX.tpl file in the design/mySchema/override/templates/content/view directory, but only with an embedded object id in an XML attribute. Looking at the debug output, the default related object output is determined by /design/standard/templates/content/datatype/view/ezobjectrelation.tpl. Anyone have any idea how to override this template for a specific class?
|