Forums / General / Feedback forms- changing the collectedinfo template

Feedback forms- changing the collectedinfo template

Author Message

Randeep Walia

Monday 20 September 2004 12:43:13 pm

I am trying to change the confirmation default template for the Feedback Form provided in the root node with 3.4.1. installation. However, I can't seem to find it.

I can see it is referenced by the URL site_name/content/collectedinfo/58 where 58 is the node_id of my feedback form. I have found a collectedinfo.tpl file in my design/standard/templates/content directory but this only seems to correspond with the top half of the template- that which lists the collected information. The results screen I get shows that output, followed by a 'Return to site' link that takes the user back to the home page.

Does anyone have any information on overriding this area?

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

Bård Farstad

Tuesday 21 September 2004 12:54:09 am

If you have a look at the standard eZ publish 3.4 installation there is an example of a simple feedback form. This form has overrides for the collection mail, it is located in design/base/override/templates/collectedinfomail/feedback_form.tpl.

--bård

Documentation: http://ez.no/doc

Randeep Walia

Tuesday 21 September 2004 11:46:02 pm

I'm aware of that template, however, did you realize that when you fill out the sample contact form that is installed in the Plain design with EZ 3.4.1 (provided you requested it be included) that the screen lists the results and ALSO gives the option to 'Return to site' which I don't see in the template you mentioned.

Where does this template exist?

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

Randeep Walia

Monday 27 September 2004 9:07:42 am

I found the little bugger. It's at design/standard/templates/content/collectedinfo

I should have just done a search for the string 'Return to site' I saw, but I haven't made it a habit of looking things up this way because I figured that it was going through the translation operator and would bring back anything.

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

Paul Forsyth

Monday 27 September 2004 9:47:13 am

Yip, i 'grep' everything in 'design/standard' when i cant find the template!

paul

Daniela Moreno

Friday 05 November 2004 9:17:00 am

i also want to change that template

but ummmh should i? since its not an override?

Paul Forsyth

Friday 05 November 2004 10:28:06 am

You should create an override where possible. Good working practice :) But changing the original will have the same effect.

paul

Daniela Moreno

Friday 05 November 2004 10:45:19 am

so theres no difference if i create an override or just change the template on standard?

Paul Forsyth

Friday 05 November 2004 11:38:04 am

No.

But if you plan to upgrade your version of ez you will find it difficult if you change the standard templates. Also, you can override in a variety of ways, matching by node, by class etc. It really depends on your need.

paul

Daniela Moreno

Friday 05 November 2004 1:23:26 pm

ohh, ok
thank you

by the way, does anybody know why when i receive an email from the feedback form, i only receive the subject and the message, and i dont get the email from the person who filled the form?

Daniela Moreno

Monday 08 November 2004 9:39:11 am

ok, so i already create my override template and specified my override rules in override.ini

[collected_feedback_form]
Source=content/collectedinfo/form.tpl
MatchFile=collectedinfo/feedbackform.tpl
Subdir=templates
Match[class]= '16'

But its not working, it keeps showing the same template.
Hope u can help me...

eZ debug

Timing: Jan 18 2025 16:21:24
Script start
Timing: Jan 18 2025 16:21:24
Module start 'content'
Timing: Jan 18 2025 16:21:24
Module end 'content'
Timing: Jan 18 2025 16:21:24
Script end

Main resources:

Total runtime0.7923 sec
Peak memory usage4,096.0000 KB
Database Queries222

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9531180.8203
Module start 'content' 0.00600.6739 769.7734710.5078
Module end 'content' 0.67990.1123 1,480.2813344.4375
Script end 0.7922  1,824.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4745210.0002
Check MTime0.00140.1708210.0001
Mysql Total
Database connection0.00070.089510.0007
Mysqli_queries0.705088.97992220.0032
Looping result0.00200.25752200.0000
Template Total0.768597.020.3843
Template load0.00200.255520.0010
Template processing0.766596.747220.3832
Template load and register function0.00010.017710.0001
states
state_id_array0.00090.118010.0009
state_identifier_array0.00100.128920.0005
Override
Cache load0.00170.2095510.0000
Sytem overhead
Fetch class attribute can translate value0.00250.312050.0005
Fetch class attribute name0.00120.1577140.0001
XML
Image XML parsing0.00230.294050.0005
class_abstraction
Instantiating content class attribute0.00000.0042190.0000
General
dbfile0.00240.3081400.0001
String conversion0.00000.000630.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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 37
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs