collected_infp_collection - data fetching

Author Message

Valentina Ferrari

Monday 21 March 2005 2:42:58 am

Hi all!
I done a form using infomation collection.
All it works! I fill the form's fields and I send the e-mail.

My problem is:
I would like to show in my site, all the form that the users send. So everybody can read what the other people wrote.

I'm using this code:

{let collection=fetch( 'content', 'collected_info_collection', hash( 'collection_id', 1, 'contentobject_id', 4668 ) )}
    {section var=attribute loop=$collection.attributes}
        {$attribute.contentclass_attribute_name}: {$attribute.data_text}<br>
    {/section}
{/let}

In this way I can see the content of the first form sent.
I would like to see all!
I think I need to set variable the value of 'collection_id', but I can't!

Please, please, please
HELP ME!

Thanks
Valentina

Yelitza Jaramillo

Monday 21 March 2005 6:25:25 am

This might help

http://ez.no/community/forum/setup_design/information_collection_data_stored

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 31 2025 01:14:03
Script start
Timing: Jan 31 2025 01:14:03
Module start 'layout'
Timing: Jan 31 2025 01:14:03
Module start 'content'
Timing: Jan 31 2025 01:14:03
Module end 'content'
Timing: Jan 31 2025 01:14:03
Script end

Main resources:

Total runtime0.0229 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.2500151.2266
Module start 'layout' 0.00450.0039 739.4766220.7188
Module start 'content' 0.00840.0131 960.1953997.9609
Module end 'content' 0.02150.0013 1,958.156329.9922
Script end 0.0229  1,988.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.2826140.0002
Check MTime0.00104.3848140.0001
Mysql Total
Database connection0.00062.776210.0006
Mysqli_queries0.00229.613530.0007
Looping result0.00000.056210.0000
Template Total0.00104.210.0010
Template load0.00073.072710.0007
Template processing0.00021.087410.0002
Override
Cache load0.00052.134110.0005
General
dbfile0.00229.819680.0003
String conversion0.00000.039540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs