Forums / Install & configuration / Problems with override templates

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)

eZ debug

Timing: Jan 18 2025 15:58:15
Script start
Timing: Jan 18 2025 15:58:15
Module start 'content'
Timing: Jan 18 2025 15:58:16
Module end 'content'
Timing: Jan 18 2025 15:58:16
Script end

Main resources:

Total runtime1.3997 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.2656180.8203
Module start 'content' 0.00691.2674 770.0859559.3047
Module end 'content' 1.27420.1253 1,329.3906338.1016
Script end 1.3996  1,667.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2836210.0002
Check MTime0.00140.1030210.0001
Mysql Total
Database connection0.00080.060110.0008
Mysqli_queries1.330595.06091990.0067
Looping result0.00190.13311970.0000
Template Total1.367597.720.6837
Template load0.00190.136520.0010
Template processing1.365597.562620.6828
Template load and register function0.00020.011710.0002
states
state_id_array0.00110.079910.0011
state_identifier_array0.00160.116520.0008
Override
Cache load0.00160.1146400.0000
Sytem overhead
Fetch class attribute can translate value0.00190.135440.0005
Fetch class attribute name0.00140.099840.0003
XML
Image XML parsing0.00060.045740.0002
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00380.2680210.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs