Forums / General / Object Relations / Comment32104

Author Topic

Roberto Kirschbaum

Tuesday 23 August 2005 6:54:25 pm

Comment32104

An interesting but ugly workaround: somehow I found out that

{$mybooknode.object.data_map.autores.content.id_list|attribute(show)}

shows:

Attribute Type Value
0 string 106
1 string 105
2 string 104
3 string 126

These 106, 105, 104 and 126 are the object_ids of the authors related to the book stored by this node!

As an ugly workaround for my needs, this would make it possible for me, while showing one author, fetch all the books, showing only those which have this authors' object_id in the array I got to show above. This way I could have an "author page" showing an author's picture, bio and links for all of his available works.

But hopefully this adds to the clues we have to make this thing work the ellegant way it was planned to.