Forums / Setup & design / Problem to override forum reply template

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

eZ debug

Timing: Jan 21 2025 02:51:05
Script start
Timing: Jan 21 2025 02:51:05
Module start 'content'
Timing: Jan 21 2025 02:51:05
Module end 'content'
Timing: Jan 21 2025 02:51:05
Script end

Main resources:

Total runtime0.1752 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 587.8438180.8125
Module start 'content' 0.00770.0049 768.656397.9297
Module end 'content' 0.01260.1626 866.5859526.6250
Script end 0.1751  1,393.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.9325200.0002
Check MTime0.00130.7562200.0001
Mysql Total
Database connection0.00140.801810.0014
Mysqli_queries0.131174.78901410.0009
Looping result0.00130.74451390.0000
Template Total0.162392.610.1623
Template load0.00080.431410.0008
Template processing0.161592.188610.1615
Override
Cache load0.00050.301410.0005
Sytem overhead
Fetch class attribute can translate value0.00070.419510.0007
XML
Image XML parsing0.00020.137010.0002
General
dbfile0.00291.6455200.0001
String conversion0.00000.005230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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