3.9 attribute_view_gui doesn't show an article related image

3.9 attribute_view_gui doesn't show an article related image

Tuesday 19 June 2007 7:25:46 am - 3 replies

Modified on Tuesday 19 June 2007 7:27:38 am by Danny Goldenthal

Author Message

Tobias Struckmeier

Tuesday 19 June 2007 9:05:42 am

Hi,

do you use the ezwebin or plain site interface?

Cheers,
Tobias

Danny Goldenthal

Tuesday 19 June 2007 10:48:29 pm

As per the tutorials instructions, I've installed eZpublish with the plain_site.

Thanks for helping,
Danny.

paul bolger

Tuesday 19 June 2007 11:16:32 pm

Hi Danny

If you want to examine the content of a variable try using the attribute pipe:

{$node.object.data_map.image|attribute ( show ) } 

There are a few variations, but the general idea is that it'll show you what strings, values or arrays are available for the current object.

Another approach for displaying images is to drill down until you find the full_path string ($node.object.data_map.image.content.data_map.image.content.small.full_path is one of the paths I ended up with) and put that in the img tag. This means you can add CSS classes etc at the template level.

Paul Bolger

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.