feed back form send infos to wrong address

Author Message

laurent le cadet

Friday 22 June 2007 8:47:44 am

Hi,

I build a feedback form based on the regular form templates.
Everything works well excepted the email reciever.

I took care about the email "recipient" attribute but the form are always send to the admin email.

3.9.2.

Any Idea ?

Regards.

Laurent

laurent le cadet

Friday 22 June 2007 9:56:55 am

This drive me crazy:(

I checked almost everything 100 times.
It looks like email_reciever is not considered.

class override=design/plain_site/override/templates/collectedinfomail/feedback_form.tpl (checked in admin)

That's the template I'm working and I added some lines in it, clear all the cache, it's still the same message!!!

I changed override.ini with:

[feedback_mail]
Source=content/collectedinfomail/form.tpl
MatchFile=collectedinfomail/i_dont_exist.tpl
Subdir=templates
Match[class_identifier]=feedback_form

Even without feedback_form.tpl it go one sending the same message!!!

How could it be possible that some other templates are used (form.tpl...)?

Argh...

André R.

Friday 22 June 2007 2:05:55 pm

Are you using ezwebin or plain site / 3.8 base design ?
And is it sending only to admin or admin and recipient?

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

laurent le cadet

Saturday 23 June 2007 1:04:24 am

André,

I'm using plain_site 3.9.2 base design.
It WAS sendonly to admin.

I change my mind by rewriting standard/content/collectedinfomail/feedback.tpl
I know it's not the best solution but now it works.

I never managed to override it.

Maybe it's because my class identifier's name is "feedback" also...

Laurent

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 20 2025 06:35:42
Script start
Timing: Jan 20 2025 06:35:42
Module start 'layout'
Timing: Jan 20 2025 06:35:42
Module start 'content'
Timing: Jan 20 2025 06:35:42
Module end 'content'
Timing: Jan 20 2025 06:35:42
Script end

Main resources:

Total runtime0.0124 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 589.2891152.6406
Module start 'layout' 0.00410.0023 741.929739.4766
Module start 'content' 0.00630.0045 781.406393.3672
Module end 'content' 0.01080.0016 874.773434.3047
Script end 0.0124  909.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.9018140.0002
Check MTime0.00107.9538140.0001
Mysql Total
Database connection0.00064.861710.0006
Mysqli_queries0.001915.592830.0006
Looping result0.00000.072910.0000
Template Total0.001310.810.0013
Template load0.00075.738910.0007
Template processing0.00065.030610.0006
Override
Cache load0.00053.871310.0005
General
dbfile0.00021.894480.0000
String conversion0.00000.055740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs