editing a template: changes do not show up

Author Message

Little Human

Tuesday 06 November 2007 4:54:34 pm

Hello,

I have two question.

1. Editing Template

I am trying to edit a template. URL is index.php/kj/2007/september/spotlight

so..I edited TPL file and uploaded through FTP.

when I refresh my website, changes do not show up.

Is this cache thing or am I editing an incorrect file?

2. Hosting Transfer.

I just moved my hosting company. Now, menu text(actually it is image) is showing up diffrerently. Is it because one of fonts is missing in my new server? If so, how do I find out which font is missing?

Thank you.

best regards,
Moon

Gunnar Birkeland

Wednesday 07 November 2007 12:29:58 am

Hello Little Human.

Welcome to ez-forums.

I guess debugging could be your way through here.

1. A general rule would be to clear all cache through the admin-interface. If this does not work, try to turn on debug output, and make sure to turn on "show used templates". Now, when accessing the page in your browser it will list all the actually used templates for the viewed page.

You can now check if you edited the right .tpl file.

2. If you are using a image library to generate the images for the menu this would be a place to start looking. Check ini settings (<i>texttoimage.ini and image.ini</i>) and that fonts are where theyre supposed to be.
Otherwise i would have checked the paths of the images in the menu. If you recently moved the site it could be they've been corrupted.

good l.

</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24

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 05:30:46
Script start
Timing: Jan 31 2025 05:30:46
Module start 'layout'
Timing: Jan 31 2025 05:30:46
Module start 'content'
Timing: Jan 31 2025 05:30:47
Module end 'content'
Timing: Jan 31 2025 05:30:47
Script end

Main resources:

Total runtime0.0240 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.0070 588.2656151.2266
Module start 'layout' 0.00700.0043 739.492236.6797
Module start 'content' 0.01130.0106 776.171990.1875
Module end 'content' 0.02190.0020 866.359429.9922
Script end 0.0239  896.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003113.1211140.0002
Check MTime0.00124.8561140.0001
Mysql Total
Database connection0.00114.673110.0011
Mysqli_queries0.004418.331330.0015
Looping result0.00000.099510.0000
Template Total0.00135.510.0013
Template load0.00104.230510.0010
Template processing0.00031.238410.0003
Override
Cache load0.00072.791110.0007
General
dbfile0.004117.017380.0005
String conversion0.00000.033840.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.0002 secs