Form Collection Help

Author Message

Douglas Johnson

Thursday 09 October 2003 2:07:41 pm

Since all of the online documentation is no longer available (thanks ezpublish!!!!) I am going to have to ask my poor ez publish compatriots for help. I need a good form collection tutorial. I can send the form data in an email but how do I display the subject and body in the email? I can only display the node name and subject? Thanks in advance. PS. Does anyone know why the documentation is no longer available? I wouldn't have purchased this thing with NO online support.

Thomas Schamm

Thursday 09 October 2003 3:57:50 pm

Hi Douglas,

don't panic, most of the doc you can find cut into pieces in developer section. To get the doc back, perhaps try to reinstall version 3.1 on a local system, there the sdk still exist. Another possibilty: there exists a version of the sdk as a pdf file (see
http://ez.no/developer/ez_publish_3/contributions/compiled_pdf_manual_from_httpwwweznosdk ). To get to your question: Check this code, i found it in the old sdk:

{set-block scope=root variable=subject}{"Collected information from:"|i18n("design/standard/content/edit")}
{$collection.object.name} {/set-block}
{set-block scope=root variable=email_receiver}{$object.data_map.email_receiver.content}{/set-block}
{"The following information was collected:"|i18n("design/standard/content/edit")}
{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name}:
{$Attribute:item.data_text}
{/section}

Greetz, Thomas

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 18 2025 19:25:45
Script start
Timing: Jan 18 2025 19:25:45
Module start 'layout'
Timing: Jan 18 2025 19:25:45
Module start 'content'
Timing: Jan 18 2025 19:25:46
Module end 'content'
Timing: Jan 18 2025 19:25:46
Script end

Main resources:

Total runtime0.8110 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.0234152.6250
Module start 'layout' 0.00880.0037 741.648439.4453
Module start 'content' 0.01260.7970 781.0938460.2031
Module end 'content' 0.80950.0015 1,241.29698.1719
Script end 0.8110  1,249.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.5948160.0003
Check MTime0.00150.1905160.0001
Mysql Total
Database connection0.00220.266310.0022
Mysqli_queries0.762494.0042540.0141
Looping result0.00060.0752520.0000
Template Total0.774395.520.3871
Template load0.00310.381620.0015
Template processing0.771295.084320.3856
Template load and register function0.00030.031210.0003
states
state_id_array0.00120.151210.0012
state_identifier_array0.00080.100620.0004
Override
Cache load0.00270.3342170.0002
Sytem overhead
Fetch class attribute can translate value0.00080.094120.0004
Fetch class attribute name0.00150.181420.0007
XML
Image XML parsing0.00020.030620.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.0921100.0001
String conversion0.00000.000940.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
2content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs