Expanding the collected information sent by e-mail

Author Message

Jorge estévez

Wednesday 30 August 2006 12:59:30 pm

Only few templates are present in 'datatype/result/info' to be collected and sent by e-mail once a user fills a form

ezoption.tpl
ezstring.tpl
eztext.tpl
etc.

In my case I need to add checkbox as a new collected information.

Can someone point out how to "make" the code for such task and where to make the appropriate changes in the ez-code, or maybe post out their code of other datatypes.

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Norman Leutner

Monday 04 September 2006 2:09:22 am

Hi,
why dont you use a string and display it as a checkbox within the form template?

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Marko Žmak

Monday 04 September 2006 2:40:37 am

In my eZ installation (3.8.1) I have this folder:

design/standard/templates/content/datatype/result/info

and it contains these templates:

ezboolean.tpl
ezcountry.tpl
ezdate.tpl
ezdatetime.tpl
ezemail.tpl
ezinteger.tpl
ezoption.tpl
ezproductcategory.tpl
ezselection.tpl
ezstring.tpl
eztext.tpl
eztime.tpl

Is the situation the same at your installation. If yes, I think that you should override the ezboolean.tpl template.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 00:30:04
Script start
Timing: Jan 31 2025 00:30:04
Module start 'layout'
Timing: Jan 31 2025 00:30:04
Module start 'content'
Timing: Jan 31 2025 00:30:04
Module end 'content'
Timing: Jan 31 2025 00:30:04
Script end

Main resources:

Total runtime0.0245 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.0050 588.2656151.2266
Module start 'layout' 0.00500.0047 739.4922220.7344
Module start 'content' 0.00970.0132 960.2266997.8359
Module end 'content' 0.02290.0016 1,958.062533.9922
Script end 0.0245  1,992.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.8511140.0002
Check MTime0.00124.7962140.0001
Mysql Total
Database connection0.00072.697810.0007
Mysqli_queries0.00249.958630.0008
Looping result0.00000.101010.0000
Template Total0.00124.710.0012
Template load0.00093.585710.0009
Template processing0.00031.136610.0003
Override
Cache load0.00062.608410.0006
General
dbfile0.00125.037180.0002
String conversion0.00000.036940.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