Form processing - get POST submit

Author Message

Radic Radovan

Monday 21 November 2005 6:34:26 am

Hello,

I got the contact form with select box working and it is collecting data correctly. I also get emails from this form. It is solved with multi-option (not the perfect solution, but works). Now, i am interested in how can i "intercept" this post submit action and not to send an email, but insert the data in the db or whatever action. Is there an option to do it with ez?

Radovan

Lazaro Ferreira

Monday 21 November 2005 7:22:20 am

Hi,

I think that, If you uncheck all of the information collector attributes of the class used by the contact_us form of ezpublish, you get this form storing the data to the DB instead of sending email

Lazaro
http://www.mzbusiness.com

Radic Radovan

Monday 21 November 2005 8:05:10 am

I have been reading more posts today, and i think i am going to have to implement my own module. Even if data is going to be stored in the db, i dont have a clue how to retrieve it and resend where i want to.
Anyway, is there ez database schema somewhere?

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 21:06:00
Script start
Timing: Jan 18 2025 21:06:00
Module start 'layout'
Timing: Jan 18 2025 21:06:00
Module start 'content'
Timing: Jan 18 2025 21:06:01
Module end 'content'
Timing: Jan 18 2025 21:06:01
Script end

Main resources:

Total runtime1.1891 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9141152.6250
Module start 'layout' 0.00530.0053 740.539139.4609
Module start 'content' 0.01071.1771 780.0000493.8672
Module end 'content' 1.18780.0013 1,273.86728.3125
Script end 1.1891  1,282.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2710160.0002
Check MTime0.00150.1234160.0001
Mysql Total
Database connection0.00080.069010.0008
Mysqli_queries1.147196.4680570.0201
Looping result0.00060.0511550.0000
Template Total1.150296.720.5751
Template load0.00180.150320.0009
Template processing1.148496.575520.5742
Template load and register function0.00010.011510.0001
states
state_id_array0.00190.162010.0019
state_identifier_array0.00110.095220.0006
Override
Cache load0.00140.1211120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.045220.0003
Fetch class attribute name0.00100.084530.0003
XML
Image XML parsing0.00020.020520.0001
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0632100.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs