Forums / General / Need owner name of child node

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Need owner name of child node

Author Message

Milad P

Thursday 15 June 2006 5:26:56 am

Some of the nodes that i fetch has children. I want to read the owner name of the child node, How do i do that? Right now my foreach loop gives me owner name of the parent node of the children.

{let faqlist}
{set faqlist=fetch( 'content', 'list', hash( 'parent_node_id', $parent, 'offset', $offset, 'sort_by', array( 'published', false())))}

                                {def $bygroups=array()}
                                {foreach $faqlist as $faq}
                                                {set $bygroups=$bygroups|append($faq.object.owner.name)}
                                {/foreach}