Changes in template don't show up

Author Message

Petter Neumann

Thursday 23 October 2003 7:39:01 am

Hi ! I'm new to Ez publish. I has installed a system (normal install on linux) with the book shoop excample and things seems to function ok. Now i'm trying to do some some changes on the template for the "homepage" . I assume this is the (www root)/design/bookshoop/templates/pagelayout.tpl file ? I do changes in that file, but cant see the changes show up in my site.

In the administrator it show :
Malvisning /pagelayout.tpl

Default template resource design/bookshop/templates

I has also tried to clear all chaches from the admin, and my browser.
/ Petter

Balazs Halasy

Thursday 23 October 2003 7:44:55 am

Try this:

1. Look in the var directory.
2. Remove the contents of the "cache" subdir.
3.Navigate into the "var/bookshop" (or whatever it is called) dir.
4.Remove the contents of the cache dir (that is inside the bookshop dir).

You can also use the bin/shell/clearcache.sh script to do this. Example:

$ bin/shell/clearcache.sh --var-subdir=bookshop --clear-all

Balazs

Petter Neumann

Thursday 23 October 2003 8:18:13 am

Well i has just done that, but it didn't fix the problem. The script dir run without pronlems but still my homepage is unchanged.
/ Petter

Petter Neumann

Thursday 23 October 2003 2:07:51 pm

I'v found the problem. It seems that the installation of EZ publish sets the permissions on the files in the /design so that you cant change the files. Changed the permissions and it worked lika a charm :-)
/ Petter

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 04:42:29
Script start
Timing: Jan 19 2025 04:42:29
Module start 'layout'
Timing: Jan 19 2025 04:42:29
Module start 'content'
Timing: Jan 19 2025 04:42:29
Module end 'content'
Timing: Jan 19 2025 04:42:29
Script end

Main resources:

Total runtime0.7041 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1797152.6250
Module start 'layout' 0.00540.0034 741.804739.4453
Module start 'content' 0.00880.6936 781.2500516.1563
Module end 'content' 0.70230.0017 1,297.406312.1563
Script end 0.7040  1,309.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4569160.0002
Check MTime0.00140.1942160.0001
Mysql Total
Database connection0.00090.126510.0009
Mysqli_queries0.650292.3493600.0108
Looping result0.00060.0851580.0000
Template Total0.667794.820.3338
Template load0.00230.326120.0011
Template processing0.665494.501320.3327
Template load and register function0.00010.020310.0001
states
state_id_array0.00160.227810.0016
state_identifier_array0.00310.446820.0016
Override
Cache load0.00190.2726250.0001
Sytem overhead
Fetch class attribute can translate value0.00070.105020.0004
Fetch class attribute name0.00240.342650.0005
XML
Image XML parsing0.00060.085920.0003
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00080.1186160.0001
String conversion0.00000.001040.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs