Forums / Setup & design / Resultpage custom form not showing

Resultpage custom form not showing

Author Message

V. van Velzen

Wednesday 23 September 2009 11:37:52 pm

Good morning,

I've created a custom form class following the guidelines in the following article:
http://ez.no/developer/articles/how_to_create_ez_publish_forms

Everything works great, except the fact that when submitting the form, the result page is not shown. Instead EZ redirects back to the form page. I've created a template in /design/[mydesign]/templates/content/collectedinfo/ and placed the following lines in collect.ini.append.php:
[DisplaySettings]
DisplayList[myform]=result

I'm also sending an email when the form is submitted, and that works. I'd just like to let the visitor know that the form has been submitted.

Any help would be appreciated.
TIA,

Vivienne

V. van Velzen

Monday 05 October 2009 12:03:00 am

Bump.
Not only do I have the problem that the resultpage is not shown, but when not all required fields are filled, EZ redirects back to the form but does not inform the visitor of the problem. Any help with this second problem would also be appreciated.
TIA,

Vivienne

V. van Velzen

Tuesday 08 December 2009 7:34:15 am

Bump again.

I've build another form where I'm having the same problem (actually, I haven't been able to build forms that work according to the tutorial http://ez.no/developer/articles/how_to_create_ez_publish_forms).

As I've mentioned before, after submitting the form, EZPublish redirects back to the form. In the addressbar of the browser, however, the following address is shown: http://www.mywebsite.com/index.php/content/collectedinfo/161. I've placed a template in the /design/[mydesign]/templates/content/collectedinfo/, but obviously am not seeing it. I'd really like some help on this one, as I have no idea what I'm doing wrong.

TIA,

Vivienne

V. van Velzen

Thursday 10 December 2009 12:46:05 am

Good morning again,

I'm beginning to think that everyone has the same problem as me, as apparently no one can help me fix it. Creating a form that is being handled correctly by EZPublish should not be this hard :-(. Is there any reason why I get to see the form again, when the addressbar of the browser says I'm looking at http://www.mywebsite.com/index.php/content/collectedinfo/161

EZPublish version 4.1.3, Debug is on, but does not show any errors. Any help would be greatly appreciated.

Vivienne

eZ debug

Timing: Jan 18 2025 03:08:52
Script start
Timing: Jan 18 2025 03:08:52
Module start 'content'
Timing: Jan 18 2025 03:08:53
Module end 'content'
Timing: Jan 18 2025 03:08:53
Script end

Main resources:

Total runtime0.8664 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.7266180.8281
Module start 'content' 0.00670.7482 769.5547457.2891
Module end 'content' 0.75490.1115 1,226.8438333.5000
Script end 0.8664  1,560.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4580210.0002
Check MTime0.00140.1623210.0001
Mysql Total
Database connection0.00080.093910.0008
Mysqli_queries0.798792.18351970.0041
Looping result0.00160.18441950.0000
Template Total0.840997.120.4205
Template load0.00230.264820.0011
Template processing0.838696.788120.4193
Template load and register function0.00020.017710.0002
states
state_id_array0.00110.122310.0011
state_identifier_array0.00060.073320.0003
Override
Cache load0.00200.2304310.0001
Sytem overhead
Fetch class attribute can translate value0.00130.155520.0007
Fetch class attribute name0.00140.166140.0004
XML
Image XML parsing0.00040.047820.0002
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00420.4881210.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs