Forums / General / Object Relations / Comment32096

Author Topic

Roberto Kirschbaum

Tuesday 23 August 2005 12:45:00 pm

Comment32096

I am about to commit suicide... why is EZP sooooooo hard? It's like learning Japanese in braile...

Trying to investigate, I put this code into the template:

{let reverse_related=$node.object}
{$reverse_related|attribute(show,1)}

And It shows:
(snip)
related_contentobject_array array Array(0)
related_contentobject_count string 0
reverse_related_contentobject_array array Array(0)
reverse_related_contentobject_count string 0
(/snip)

Isn't it suspicious that these arrays are zeroed?

When I go to the Admin interface and look at the BOOKs, I can actually SEE the assigned authors (from AUTHORS class)! When I access the book on the public website I AM able to see the related author(s). SO Why then when I put the example EOR code on the AUTHOR template, it just won't show thw related books? I must be doing something wrong, but if I knew what, I would correct it!

Please I beg for help!