Bug in design override order?

Author Message

Peter Dahinden

Friday 28 April 2006 10:38:09 am

This is my first post here - so I am not yet familiar with eZ systems.

I use the following design settings:

1. - in ..\eZpublish\settings\site.ini

[DesignSettings]
StandardDesign=standard
SiteDesign=admin
AdditionalSiteDesignList[]

2. - in ..\eZpublish\settings\siteaccess\blog_site\site.ini.append.php

[DesignSettings]
StandardDesign=standard
SiteDesign=blog_site
AdditionalSiteDesignList[]=base

When accessing the blog_site, I would expect to get the

eZpublish\design\<b>blog_site</b>\templates\pagelayout.tpl file.

Instead, eZ publish presents the

eZpublish\design\<b>base</b>\templates\pagelayout.tpl file.

As soon as I add a hash to the AdditionalSiteDesignList entry in file 2 (# AdditionalSiteDesignList[]=base) the correct file is shown.

Do I misunderstand the settings or is there a bug in eZ publish 3.8 beta 2?

Nabil Alimi

Wednesday 03 May 2006 3:05:31 am

Hi peter,

I have the same problem...

Which version of EzP do you use ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Peter Dahinden

Friday 05 May 2006 2:14:01 pm

Nabil

I am using 3.8 beta 2.

Peter

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 21:16:07
Script start
Timing: Jan 18 2025 21:16:07
Module start 'layout'
Timing: Jan 18 2025 21:16:07
Module start 'content'
Timing: Jan 18 2025 21:16:08
Module end 'content'
Timing: Jan 18 2025 21:16:08
Script end

Main resources:

Total runtime0.9616 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.0070 587.9141152.6250
Module start 'layout' 0.00700.0041 740.539139.4453
Module start 'content' 0.01120.9486 779.9844532.0234
Module end 'content' 0.95980.0017 1,312.007812.1641
Script end 0.9615  1,324.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3644160.0002
Check MTime0.00150.1543160.0001
Mysql Total
Database connection0.00120.128310.0012
Mysqli_queries0.898993.4801570.0158
Looping result0.00070.0718550.0000
Template Total0.916395.320.4582
Template load0.00230.235320.0011
Template processing0.914095.058620.4570
Template load and register function0.00020.025210.0002
states
state_id_array0.00260.265810.0026
state_identifier_array0.00120.127820.0006
Override
Cache load0.00190.1982300.0001
Sytem overhead
Fetch class attribute can translate value0.00070.073920.0004
Fetch class attribute name0.00170.174140.0004
XML
Image XML parsing0.00060.062020.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00080.0793160.0000
String conversion0.00000.001240.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
5content/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
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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs