Problem with collected info by form

Author Message

Stéphane Bullier

Tuesday 20 February 2007 8:43:15 am

Hello,

I can't find the solution to solve my problem

I created a form. I overrided the default template. After fill all fields of my form and clic the button "Send", the process stop at
content/action

When I use the default template standard/node/view/full or when I use the form in back office, the informations are sent the url change like that content/collectedinfo/226 and receive a email.

I your some idea. I use ez 3.9.

Stéphane

André R.

Tuesday 20 February 2007 8:49:57 am

Have you remembered to copy all hidden input tags from the default template ?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Stéphane Bullier

Tuesday 20 February 2007 8:56:31 am

Hello André R.,

Yes I think.

Look a sample of my code :

     <form method="post" action={"content/action"|ezurl}>
		
		<input type="hidden" name="TopLevelNode" value="{$node.node_id}" />

    {* Registration type *}
		<p>
			* {$node.data_map.registration_type.contentclass_attribute_name}
			{attribute_view_gui attribute=$node.data_map.registration_type}
		</p>


            <input type="submit" class="defaultbutton" name="ActionCollectInformation" value="{"Send form"|i18n("design/base")}" />
            <input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
            <input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
            <input type="hidden" name="ViewMode" value="full" />

</form>
 

Stéphane

Stéphane Bullier

Wednesday 21 February 2007 1:04:58 am

I solved my problem. The problem was about an attribute selection in my form.

Stéphane

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

Main resources:

Total runtime0.9119 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0040 587.9375152.6250
Module start 'layout' 0.00400.0019 740.562539.4453
Module start 'content' 0.00590.9045 780.0078556.1641
Module end 'content' 0.91050.0014 1,336.171912.4688
Script end 0.9119  1,348.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3387160.0002
Check MTime0.00130.1451160.0001
Mysql Total
Database connection0.00060.064810.0006
Mysqli_queries0.857894.0705600.0143
Looping result0.00080.0842580.0000
Template Total0.886597.220.4433
Template load0.00220.239020.0011
Template processing0.884396.977720.4422
Template load and register function0.00010.011610.0001
states
state_id_array0.00060.069810.0006
state_identifier_array0.00120.126320.0006
Override
Cache load0.00170.1902220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.059220.0003
Fetch class attribute name0.00160.179460.0003
XML
Image XML parsing0.00140.151220.0007
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00090.0975230.0000
String conversion0.00000.000540.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs