wrong template

Author Message

Johan L

Monday 14 March 2005 12:30:55 am

Hi!

I´m working on a ez-site and I´m haveing problems with the templates, I think I have done everything according to the manual but it dose´nt work.

I have created a folder and a class and a template and I have assigned the template to the folder in override.ini.append.php but ez uses a template called full_view_all_folders.tpl instead

Eehh... does anyone understand what my problem is?
AND do anyone have a super solution for me? :)

Regards, Johan L

Ɓukasz Serwatka

Monday 14 March 2005 12:38:14 am

Hi Johan,

Your problem is similar to ;-)
http://ez.no/community/forum/setup_design/override_files_not_working

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Johan L

Monday 14 March 2005 1:20:49 am

Hi.

Now I have checked the site.ini.append.php

[DesignSettings]
SiteDesign=my-site-name
AdditionalSiteDesignList[]=base

And it looks ok, like above.

And I have moved my .tpl-entry to the top in the override.ini.append.php, it looks like:

[pagelayout_about]
Source=node/view/full.tpl
MatchFile=pagelayout_about.tpl
Subdir=templates
Match[class_identifier]=about

And I have cleared my cache but still the same old full_view_all_folders.tpl

-Johan L

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

Main resources:

Total runtime0.7672 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.0313152.6094
Module start 'layout' 0.00600.0051 741.640639.4297
Module start 'content' 0.01110.7545 781.0703538.0000
Module end 'content' 0.76560.0016 1,319.07038.5078
Script end 0.7672  1,327.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4354160.0002
Check MTime0.00140.1870160.0001
Mysql Total
Database connection0.00090.118310.0009
Mysqli_queries0.711092.6681570.0125
Looping result0.00060.0789550.0000
Template Total0.736996.020.3684
Template load0.00220.292120.0011
Template processing0.734695.748820.3673
Template load and register function0.00020.021810.0002
states
state_id_array0.00090.113410.0009
state_identifier_array0.00080.100520.0004
Override
Cache load0.00190.2447290.0001
Sytem overhead
Fetch class attribute can translate value0.00090.119620.0005
Fetch class attribute name0.00130.173840.0003
XML
Image XML parsing0.00090.114320.0004
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00180.2401180.0001
String conversion0.00000.001940.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
3content/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
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs