Forums / Setup & design / Changes in template don't show up

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