Problem to override forum reply template

Author Message

Kalul Kantik

Friday 16 September 2005 10:23:31 am

Hi !

I got problems to override the forum reply template (forum_reply.tpl), this making me crazy :-(
when i use the debug output it tells me that the template is located in
design/base/override/templates/edit/forum_reply.tpl

I tried to make a new template override in the admin interface and changed the new file and nothing happened, the most strange is that the debug output still give the original template as the loaded template !!!???

...perhaps this template can't be overrided ??!! do i have to change the original file ? any idea ?

thanks
Kalul

Gabriel Ambuehl

Friday 16 September 2005 11:10:03 am

It can be overriden, I've done it (it is, in fact, already being overriden in the default install, you'll have to change that file). Did you clear the cache?

Visit http://triligon.org

Kalul Kantik

Friday 16 September 2005 1:50:15 pm

yes i cleared the cache, and several times, but it did nothing...i'm gonna change the file directly !

thanks for the reply Gabriel :)

Gabriel Ambuehl

Saturday 17 September 2005 12:31:42 am

It should already exist in the override folder. Be sure to change that one!

Visit http://triligon.org

Federico Canuti

Tuesday 20 September 2005 4:24:43 am

I have exactly the same problem, I have created the override file and I can see it in the correct directory but it doesn't work, when I modify the override the page remains the same, like if the system is not reading the override, I don't want to modify the original file so what can I do?

Federico Canuti

Tuesday 20 September 2005 10:04:50 am

Update: modyfing the edit/forum_reply.tpl in design/base does nothing, while the same template in design/mysite gives me access denied (perhaps is in use?).
I'm using versione 3.6.0, I don't know if it is important.

Kalul Kantik

Wednesday 21 September 2005 6:45:53 am

Hi !

To let u know how i've done...and it worked !

I've modified the template located in desin/base/override/templates/edit/forum_reply.tpl directly to change the design.
I had to modify also the form and for this i've created a new override template for content/edit_validation.tpl

It's seems to be the good way !?!

Bye
Khelil

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 09:49:07
Script start
Timing: Jan 19 2025 09:49:07
Module start 'layout'
Timing: Jan 19 2025 09:49:07
Module start 'content'
Timing: Jan 19 2025 09:49:08
Module end 'content'
Timing: Jan 19 2025 09:49:08
Script end

Main resources:

Total runtime0.7418 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 590.7344152.6406
Module start 'layout' 0.00450.0034 743.375039.4766
Module start 'content' 0.00790.7322 782.8516606.6328
Module end 'content' 0.74020.0016 1,389.484416.1250
Script end 0.7418  1,405.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4377160.0002
Check MTime0.00140.1839160.0001
Mysql Total
Database connection0.00060.087610.0006
Mysqli_queries0.677791.3529710.0095
Looping result0.00070.0970690.0000
Template Total0.710295.720.3551
Template load0.00210.283020.0010
Template processing0.708095.449820.3540
Template load and register function0.00010.020010.0001
states
state_id_array0.00140.184310.0014
state_identifier_array0.00100.132920.0005
Override
Cache load0.00180.2460340.0001
Sytem overhead
Fetch class attribute can translate value0.00070.092230.0002
Fetch class attribute name0.00110.152980.0001
XML
Image XML parsing0.00250.342830.0008
class_abstraction
Instantiating content class attribute0.00000.0026100.0000
General
dbfile0.00250.3422160.0002
String conversion0.00000.000840.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs