related_objects: objects related by attributes only

related_objects: objects related by attributes only

Sunday 25 February 2007 9:09:52 pm - 3 replies

Author Message

Xavier Dutoit

Monday 26 February 2007 5:50:43 am

The 'attribute_identifier' is what you want. the syntax is "news/country" (assuming country is a related object attribute of the class news).

X+

http://www.sydesy.com

paul bolger

Monday 26 February 2007 4:22:17 pm

I was wondering if there is a generic 'related by attribute' method

Kind of the opposite of 'all_relations FALSE'

It would mean I could recycle the template for a few different situations, rather than have different ones for each class.

paul bolger

Paul Bolger

Kristof Coomans

Monday 26 February 2007 11:05:59 pm

Hi Paul

Did you try the group_by_attribute parameter?

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/related_objects

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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.