Subject of Feedback form???

Author Message

Siw Helen Thorslund

Friday 26 November 2004 5:08:40 am

What file do I edit to change the subject of a feedback form?

=)

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Łukasz Serwatka

Friday 26 November 2004 5:11:51 am

Hi,

Look at /kernel/form/process.php
There you can change default subject.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Siw Helen Thorslund

Friday 26 November 2004 5:59:45 am

This can't be done in an .tpl?

I want to post a variable on the subject field, cause I use the same form in different places. And want the subject to indicate what instance of the form I have used...

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Siw Helen Thorslund

Friday 26 November 2004 6:01:18 am

This can't be done in an .tpl?

I ise the same feedback class in different places of the site. And I want to indicate in the subject field from what instance this feedback is from..

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Łukasz Serwatka

Friday 26 November 2004 6:21:15 am

Look at this
http://ez.no/ez_publish/documentation/customization/components/form_processing

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Friday 26 November 2004 6:22:12 am

Something is wrong with forum postings. Some times we have double posts at the same time :/

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Siw Helen Thorslund

Friday 26 November 2004 7:05:15 am

<input type="hidden" name="MailSubject" value="Form information" />

This is not working..

I am posting to form.tpl that looks like this:

{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name))}{/set-block}

{* Use this line to specify the e-mail in the template, can read this from the object to
   make it dynamic pr form
{set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}
*}

{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}

{"The following information was collected:"|i18n("design/standard/content/edit")}

{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name|wash}:
{attribute_result_gui view=info attribute=$Attribute:item}

{/section}

But I do not want the subject to be the NAME, but a field called SUBJECT.
(The field SUBJECT is defined in the class, but not an information collector. It is given the value through the admin interface.)

How do I do this?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Siw Helen Thorslund

Saturday 27 November 2004 4:21:20 am

Anyone that have any good idea for this problem? =)

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

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

Main resources:

Total runtime0.8817 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.1563152.6250
Module start 'layout' 0.00600.0038 741.781339.4453
Module start 'content' 0.00970.8706 781.2266608.0391
Module end 'content' 0.88040.0013 1,389.265624.7891
Script end 0.8817  1,414.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4170160.0002
Check MTime0.00130.1440160.0001
Mysql Total
Database connection0.00100.118910.0010
Mysqli_queries0.813192.2171720.0113
Looping result0.00060.0733700.0000
Template Total0.845895.920.4229
Template load0.00240.269720.0012
Template processing0.843595.660120.4217
Template load and register function0.00010.011010.0001
states
state_id_array0.00100.118710.0010
state_identifier_array0.00180.207820.0009
Override
Cache load0.00210.2387380.0001
Sytem overhead
Fetch class attribute can translate value0.00060.062720.0003
Fetch class attribute name0.00120.1410100.0001
XML
Image XML parsing0.00100.118120.0005
class_abstraction
Instantiating content class attribute0.00010.0059160.0000
General
dbfile0.00100.1130240.0000
String conversion0.00000.001540.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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/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
2content/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: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs