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.