Problems with Information Collection's results...

Author Message

Sebastian Wohlrab

Tuesday 05 October 2010 11:08:50 am

I have a strange Problem with my information collection form, which collects informations very well, but doesnt show a result template (the form's tpl is showed instead of it...).

I have checked everything - overrides are looking good (i have two: one for the form, one for the result's page, collect.ini is also ok)...

As i said: The collection is performed, but the /content/collectedinfo/xx show's the form, not the collectedinfo override :(

Im using 4.4 (its not my first eZ Project, ive realized several sites with several forms and never hat that problem... but this is my first use of 4.4)

If someone has an idea, pls help :) Thx for Support

Sebastian

Ɓ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}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 29 2025 13:44:45
Script start
Timing: Jan 29 2025 13:44:45
Module start 'layout'
Timing: Jan 29 2025 13:44:45
Module start 'content'
Timing: Jan 29 2025 13:44:46
Module end 'content'
Timing: Jan 29 2025 13:44:46
Script end

Main resources:

Total runtime0.9856 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.2578151.2266
Module start 'layout' 0.00670.0044 739.484436.6875
Module start 'content' 0.01110.9733 776.1719554.0391
Module end 'content' 0.98440.0012 1,330.210911.8125
Script end 0.9856  1,342.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3393160.0002
Check MTime0.00130.1327160.0001
Mysql Total
Database connection0.00090.095910.0009
Mysqli_queries0.939695.3318640.0147
Looping result0.00070.0696620.0000
Template Total0.949396.320.4746
Template load0.00180.177720.0009
Template processing0.947596.129620.4737
Template load and register function0.00020.021810.0002
states
state_id_array0.00090.092010.0009
state_identifier_array0.00220.223020.0011
Override
Cache load0.00140.1434210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.083140.0002
Fetch class attribute name0.00160.165650.0003
XML
Image XML parsing0.00090.095140.0002
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00180.1844180.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs