|
Wednesday 24 August 2005 9:06:18 am
Comment32111
Xavier, Before trying {def $objects=fetch( content, reverse_related_objects, hash( object_id, $node.contentobject_id, attribute_identifier, 'books/authors' ) )}
I changed kernel/classes/ezcontentobject.php as you said. I assumed this was necessary before I tried the fetch function. Did I assume wrong?
Anyways, after I changed the file and cleared the chaches, I erased some relations created before this kernel change, and then created new relations. For my susprise, when I go to the admin page for either books or authors, I still get:
//Relations [0]
//Related objects [0]
//The item being viewed does not make use of any other objects.
//Reverse related objects [0] //The item being viewed is not in use by any other objects. So, what change of behaviour should I have looked for, after changing the kernel file?
thanks you all for the efforts so far! Roberto
PS: I tried the suggested function (Note: Authors [Enhanced Object relation] (id:227)) {def $objects=fetch( content, reverse_related_objects, hash( object_id, $node.contentobject_id, attribute_identifier, 227 ) )}
{foreach $objects as $object}
{$object.object.name}<BR />
{/foreach}
{undef $objects}
but to no avail...
|