Feedback forms- changing the collectedinfo template

Feedback forms- changing the collectedinfo template

Monday 20 September 2004 12:43:13 pm - 10 replies

Modified on Monday 20 September 2004 12:43:56 pm by Randeep Walia

Author Message

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...

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.