Changing feedback_form class

Author Message

Bani K

Wednesday 10 October 2007 3:47:51 pm

I have been trying to modify the feedback_form class from the admin interface to add some more text line attributes as information collectors. The class is saved properly and shows the new attributes when modifying an existing instance of the feedback_form class or while creating a new one. But the saved object does not show the new attributes when saved/published. I have been searching for a demo/tutorial for a process to change an existing class and thus its dependent objects but have not been able to find one.

Can anyone point to an explanatory article or mention a solution?

Lukasz Piech

Thursday 11 October 2007 12:22:43 am

You need to modify the .tpl file to include the new attribute to be displayed.

Bani K

Thursday 11 October 2007 10:39:49 am

Thanks. .. figured that out.

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 31 2025 01:16:24
Script start
Timing: Jan 31 2025 01:16:24
Module start 'layout'
Timing: Jan 31 2025 01:16:24
Module start 'content'
Timing: Jan 31 2025 01:16:24
Module end 'content'
Timing: Jan 31 2025 01:16:24
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.2656151.2109
Module start 'layout' 0.00600.0036 740.4766220.6875
Module start 'content' 0.00950.0132 961.1641997.5859
Module end 'content' 0.02270.0016 1,958.750029.9922
Script end 0.0244  1,988.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003012.2496140.0002
Check MTime0.00114.5559140.0001
Mysql Total
Database connection0.00073.050910.0007
Mysqli_queries0.002510.362830.0008
Looping result0.00000.044910.0000
Template Total0.00124.710.0012
Template load0.00093.747310.0009
Template processing0.00020.974710.0002
Override
Cache load0.00062.507010.0006
General
dbfile0.00176.933980.0002
String conversion0.00000.025440.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