Monday 13 September 2004 2:59:49 am
In some place in my web site (ezpub 3.4) the attribute_view_gui doesn't display the images in a correct way It seems the attribute_view_gui function does not use the correct template to display the image...
I use exactly the same code in the templates design/base/override/templates/full/folder.tpl
and design/base/override/templates/full/article.tpl the code is
{attribute_view_gui attribute=$node.object.data_map.image align=right image_class=large}
With template debugging output enabled, in the 1st case (folder.tpl) the system uses these templates:
design/standard/templates/content/datatype/view/ezobjectrelation.tpl
design/base/override/templates/textlinked/image.tpl design/standard/templates/content/datatype/view/ezimage.tpl
In the 2nd case (article.tpl) it takes:
design/base/override/templates/datatype/ezobjectrelation/image.tpl design/standard/templates/content/datatype/view/ezimage.tpl Does anybody have a clue what might be the problem here?
|