CSS ... from the packages directory?

Author Message

Marco Zinn

Saturday 09 October 2004 12:59:12 pm

Hi,
when you install a 3.4 site with the corporate style and switch for the "t08" theme, you will find this CSS imports in your pagelayout:
@import url("/design/base/stylesheets/core.css");
@import url("/design/base/stylesheets/site.css");
@import url("/packages/styles/t08/files/default/file/design/base/stylesheets/t8/site-colors.css");
@import url("/design/base/stylesheets/classes.css");
@import url("/packages/styles/t08/files/default/file/design/base/stylesheets/t8/classes-colors.css");
@import url("/design/standard/stylesheets/debug.css");
(Same applies to all other Themes t01-t20)

The "theme-specific file" site-colors.css and classes-colors.css are taken from the directory
/packages/styles/t08/files/default/file/design/base/stylesheets/t8/
IMHO, this does not follow the "directory structure" of ez 3.3, where all design-related stuff should be stored in /design.
Moreover, these two css files for each thema really ARE available in /design/base/stylesheets/t<theme-id>/
This leads to confusing, as we are used to change css files in /design... but they are not used.

Is this a bug? I'd guess, that the CSS files should be taken from /design/base/stylesheets/t<theme-id>/ , while the package directory is only used at setup (as an installation source) and is not used later.

Any explanation about this is usefull.

Marco
http://www.hyperroad-design.com

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

Main resources:

Total runtime0.8719 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1563152.6250
Module start 'layout' 0.00580.0034 741.781339.4609
Module start 'content' 0.00920.8612 781.2422471.2109
Module end 'content' 0.87050.0014 1,252.45318.1563
Script end 0.8719  1,260.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3743160.0002
Check MTime0.00130.1495160.0001
Mysql Total
Database connection0.00090.099310.0009
Mysqli_queries0.831195.3180460.0181
Looping result0.00040.0437440.0000
Template Total0.840696.420.4203
Template load0.00190.223420.0010
Template processing0.838796.188120.4193
Template load and register function0.00010.011010.0001
states
state_id_array0.00110.124810.0011
state_identifier_array0.00110.130120.0006
Override
Cache load0.00160.1824200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.076210.0007
Fetch class attribute name0.00050.057120.0002
XML
Image XML parsing0.00040.049910.0004
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00180.2058160.0001
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs