Share » Forums » General » Problems with Information...

Problems with Information Collection's results...

Problems with Information Collection's results...

Tuesday 05 October 2010 11:08:50 am - 3 replies

Author Message

Ɓukasz Serwatka

Sunday 12 December 2010 3:23:30 pm

Hi,

Can you paste your template override rule?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Simone D'Amico

Thursday 20 January 2011 4:25:07 am

Hi Sebastian,

I've the same problem. Have you resolved?

scrieler _

Monday 31 January 2011 3:30:15 am

I have this problem if I send a mail from embed view, don't know how to get the $collection info...

my problem is the $node.contentobject_id

from embed object I have another object id, my solution:

{if or(not($collection_id),not($node.contentobject_id))}
    {foreach $node.children as $children}
        {if eq($children.class_identifier,'feedback_form')}
            {def $embedobjectid = $children.contentobject_id}
        {/if}
    {/foreach}
    {def $collection = fetch( content, collected_info_collection, hash( contentobject_id, $embedobjectid ) ) }
{else}
    {def $collection = cond( $collection_id, fetch( content, collected_info_collection, hash( collection_id, $collection_id ) ),
                              fetch( content, collected_info_collection, hash( contentobject_id, $node.contentobject_id ) ) )}
{/if}

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu