multilingual site: different visualization problem

Author Message

Alessandro Cipriani

Tuesday 17 February 2004 5:41:07 am

hi all
i followed the "How to setup a multilingual site" documentation (http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site) to setup my own site. all worked ok, but now i've a problem:

the second language's site is not displayed properly.
my pagelayout.tpl links 3 css stylesheet, in the following way:

@import url({"stylesheets/core.css"|ezdesign});
@import url({$pagedesign.data_map.sitestyle.content|ezpackage(filepath,"cssfile")ezroot});
@import url("/design/corporate/stylesheets/corporate-blue.css");

displaying the html of the running sites i've seen that there is no problem whit this links in the italian (1st language) site, while in the english (2nd language) site the 2nd link is empty. so, while the italian site calls
"/var/corporate/storage/packages/corporate_blue/files/default/file/design/corporate/stylesheets/corporate-blue.css" and is displayed properly, in the english one this string is empty, and causes the wrong visualization.

any hint to avoid this problem?

best regards

alessandro

Björn Dieding@xrow.de

Thursday 19 February 2004 12:19:32 am

copy the corporate-blue.css from the package dir to design

and reaplce the line

@import url({$pagedesign.data_map.sitestyle.content|ezpackage(filepath,"cssfile")ezroot});

with a link to your css file

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Alessandro Cipriani

Monday 08 March 2004 7:00:47 am

Björn it doesn't work... i view the same result

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 23:09:58
Script start
Timing: Jan 18 2025 23:09:58
Module start 'layout'
Timing: Jan 18 2025 23:09:58
Module start 'content'
Timing: Jan 18 2025 23:09:59
Module end 'content'
Timing: Jan 18 2025 23:09:59
Script end

Main resources:

Total runtime1.1328 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.0065 588.0625152.6406
Module start 'layout' 0.00650.0040 740.703139.4766
Module start 'content' 0.01041.1210 780.1797543.1719
Module end 'content' 1.13140.0013 1,323.351612.1250
Script end 1.1327  1,335.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2883160.0002
Check MTime0.00130.1129160.0001
Mysql Total
Database connection0.00090.076410.0009
Mysqli_queries1.075394.9260570.0189
Looping result0.00060.0544550.0000
Template Total1.086495.920.5432
Template load0.00280.245620.0014
Template processing1.083695.659620.5418
Template load and register function0.00020.014010.0002
states
state_id_array0.00160.141910.0016
state_identifier_array0.00230.206920.0012
Override
Cache load0.00240.2101250.0001
Sytem overhead
Fetch class attribute can translate value0.00080.070920.0004
Fetch class attribute name0.00110.098050.0002
XML
Image XML parsing0.00370.325920.0018
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00470.4170220.0002
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs