Problems with override templates

Author Message

Francesc Febrer

Wednesday 11 February 2004 7:08:55 am

Hello.

I've several problems when I attempt create override templates. When I go to setup/templates area and attempt to create a new override template (ie: full view of "article" class for the file articlefull.tpl) and do this, then, the changes not appaers on the web. It tells me that this class haven't a template, but in admin area the system tells me that articlefull.tpl is related with article class (id 2).

Can you help me? Thank you.

Lazaro Ferreira

Wednesday 11 February 2004 9:33:39 am

Hi,

Ezp3 have a default template for every predefined content class, so you shouldn't get an error like this because if it fails to open your override template it should always use the standard template that comes with ezp3

You could turn on debug (also for templates) at the site.ini.append of your siteaccess, clear all caches, and looks what the user side page shows, if your template file name is missing then it means that ezp isn't loading your template

Lazaro
http://www.mzbusiness.com

Francesc Febrer

Thursday 12 February 2004 4:12:56 am

Hi,

I could turn on debug, and applarently does'nt exist errors. This is the debug when I view a article full page, and I created their template. Only appaers erros with images, but article haven't iamges.

Note: The problem exists in any new template that tries to create from the admin.
Please, help me.

>>Timing:
Feb 12 2004 04:09:52

Module start 'content'

Warning: eZModuleOperationInfo::execute
Feb 12 2004 04:09:52

Missing main operation memento for key: e5982671acbfac4c035439187a398361

Error: eZImageManager::createImageAlias
Feb 12 2004 04:09:52

The reference alias original file var/blog/storage/images/not_cies/un_porc_okupa_el_web_marianorajoy_com/1085-1-eng-GB/un_porc_okupa_el_web_marianorajoycom. does not exist

Error:
Feb 12 2004 04:09:52

Original alias does not exists, cannot create other aliases without it

Error: eZImageManager::createImageAlias
Feb 12 2004 04:09:52

Failed creating the referenced alias reference, cannot create alias large

Timing:
Feb 12 2004 04:09:52

Module end 'content'

Vidar Langseid

Friday 13 February 2004 4:24:28 am

> I've several problems when I attempt create override templates. When I
> go to setup/templates area and attempt to create a new override template
> (ie: full view of "article" class for the file articlefull.tpl) and
> do this, then, the changes not appaers on the web.
when you try to override the template in setup/templates, you have to select correct siteaccess AND press the "Set" button.
If that won't work, try to clear the cache as well (setup/cache)

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

Main resources:

Total runtime0.0154 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.0055 588.2578151.2266
Module start 'layout' 0.00550.0025 739.484436.6797
Module start 'content' 0.00800.0060 776.164194.0781
Module end 'content' 0.01390.0014 870.242233.9922
Script end 0.0153  904.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.0991140.0002
Check MTime0.00117.1012140.0001
Mysql Total
Database connection0.00084.932210.0008
Mysqli_queries0.002617.030830.0009
Looping result0.00000.091510.0000
Template Total0.00117.010.0011
Template load0.00085.258010.0008
Template processing0.00031.711310.0003
Override
Cache load0.00053.182110.0005
General
dbfile0.001510.000980.0002
String conversion0.00000.045040.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.0001 secs