Monday 18 September 2006 11:45:53 pm
Thanks for the hint Karl, but this doesn't fix it. Even if I change it to embed. The default template design/standard/templates/content/view/embed.tpl which is used for a plain site design only shows the name of the embedded object and not the image like in the admin siteaccess. Here's the code:
{default attribute_parameters=array()}
{section show=$object.main_node_id|null|not}
<a href={$object.main_node.url_alias|ezurl}>{$object.name|wash}</a>
{section-else}
{$object.name|wash}
{/section}
{/default}
For the admin siteaccess there's an override:
[embed_image]
Source=content/view/embed.tpl
MatchFile=embed_image.tpl
Subdir=templates
Match[class_identifier]=image
By standard, embedded object should be shown in the same way as in the admin siteaccess without creating any overrride templates.
Mit freundlichen Grüßen
Best regards
Norman Leutner
____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh
|