get embedded image in short_description

get embedded image in short_description

Wednesday 01 June 2011 5:52:45 am - 2 replies

Author Message

Peter Keung

Wednesday 01 June 2011 7:28:43 am

Try using the related_objects fetch and specifying an attribute:

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/related_objects

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

paul bolger

Thursday 02 June 2011 6:46:58 pm

Thanks Peter, I'll give that a try.

Seems a bit crazy that you can't directly get the embedded objects out of a particular xml field. Has this changed since 3.x? I used the line above in a project a few years ago (3.8) and it seemed to work ok then.

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.