Modifications in pagelayout.tpl don't work

Author Message

Gérard Bouchard

Thursday 07 February 2008 3:26:55 am

Hello,

I've to modify the actual pagelayout.tpl containing the template of the website I work on.
Whatever I write in it, like adding some text in a div, it does not work : the template is still the same and my text that I added does not appear.

I've restarted apache, I've cleared all the caches of my navigator (firefox & internet explorer) AND those of ezpublish, I've even restarted the webserver... but the problem is still here.

What can I do ? Do u have any ideas ?

Thanks a lot :)

PS : I'm working on ezpublish 3.9.2, on LAMP (apache2.0, php4.4).

Gérard Bouchard

Thursday 07 February 2008 5:25:55 am

Well, I found the solution:

I had a problem in the cache management, so I forced ezpublish to regenerate all the caches => delete the directory /var/www/YOURSITE_ez/var/plain_site

And it works !

André R.

Thursday 07 February 2008 7:13:31 am

if you delete "var/plain_site" (where 'plain_site' can be ''ezwebin_site', 'ezflow_site' or similar depending on you setup), then you also delete your storage (images / video's / packages)..

So you might want to look into the var/<site_dir>/cache/ folder in the future..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Christoph von Siebenthal

Sunday 02 March 2008 1:49:16 pm

Had the same problem.

The solution of Gérard Bouchard worked for me to.
As I am at the very beginning I lost only two hours to wonder wy what seems so easy on the paper doesn't work.
Hope things become easier now...

Richard Lundberg

Monday 03 March 2008 1:27:58 pm

Just a thought, make sure you are modifying the right pagelayout.tpl. If you are using the Website Interface, it is under /extensions/ezwebin/design/ezwebin/templates/pagelayout.tpl

www.peakm3.com

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 18 2025 10:33:59
Script start
Timing: Jan 18 2025 10:33:59
Module start 'layout'
Timing: Jan 18 2025 10:33:59
Module start 'content'
Timing: Jan 18 2025 10:34:00
Module end 'content'
Timing: Jan 18 2025 10:34:00
Script end

Main resources:

Total runtime0.7956 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0469152.6406
Module start 'layout' 0.00630.0027 740.687539.4766
Module start 'content' 0.00890.7851 780.1641641.6484
Module end 'content' 0.79400.0015 1,421.812512.1250
Script end 0.7955  1,433.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3962160.0002
Check MTime0.00130.1594160.0001
Mysql Total
Database connection0.00070.081810.0007
Mysqli_queries0.726591.3183670.0108
Looping result0.00070.0913650.0000
Template Total0.759795.520.3799
Template load0.00200.255420.0010
Template processing0.757795.235220.3788
Template load and register function0.00030.032810.0003
states
state_id_array0.00100.125810.0010
state_identifier_array0.00080.098720.0004
Override
Cache load0.00180.2217270.0001
Sytem overhead
Fetch class attribute can translate value0.00120.150040.0003
Fetch class attribute name0.00110.139880.0001
XML
Image XML parsing0.00941.182040.0024
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00941.1781290.0003
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
5content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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