Wednesday 10 September 2003 5:16:48 am
I've had the same problem several times. From the users point of view a related image is usually something very different from a related page, or a related downloadable file, and more often than not you want to display these items in different places in the templates, not just grouped together as one big bunch of items. Some functions to ease the handling of relations of a specific class would be greatly appreciated. I can think of a few things: 1. Fetch related objects of a specific class 2. Check if objects of a specific class exists 3. Group different related class types in the admin interface. Related images under one heading, related documents in another heading, etc... 4. Allow sorting of the different related objects in the admin interface, and use the sorting method when displaying the objects in the templates. Some of this may be solved by using object relation lists for specific classes in 3.2, but that function didn't work in the 3.2 beta2 I tested, so I don't know specifically how it would work yet...
Daniel Staver
http://daniel.staver.no
|