Css Problem

Author Message

Tom Denzin

Monday 01 December 2008 3:07:32 am

I have a lot of css styles in my extension folder.The folder is called css

i imported it like

@import url({"css/navmain.css"|ezdesign(no)});
@import url({"css/solic_styles_home.css"|ezdesign(no)});
@import url({"css/solic_styles_partner01.css"|ezdesign(no)});
@import url({"css/solic_styles_area05.css"|ezdesign(no)});
@import url({"css/solic_styles_area05.css"|ezdesign(no)});
@import url({"css/solic_styles_area04.css"|ezdesign(no)});
@import url({"css/solic_styles_area03.css"|ezdesign(no)});
@import url({"css/solic_styles_area02.css"|ezdesign(no)});
@import url({"css/solic_styles_area01.css"|ezdesign(no)});

in my pagelayout.tpl

i also can see that the css are called when i look in firebug.

But the pictures wont display.

I think they get not rendert.
does anybody have an idea??
I use EZ-P 4.01

Arnaud Lafon

Monday 01 December 2008 3:49:19 am

Hi Tom,

you should check the image path. Sometimes you'll need to use an absolute path.
Also check that your virtual host (or your htaccess) is correct. If you have something like url( ../img/picture.jpg ) in your CSS, then you should have in your vhost :

...
Rewriterule ^/extension/[^/]+/design/[^/]+/(flash|stylesheets<b>|img</b>|images|javascripts?)/.* - [L]
...

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] 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 31 2025 06:17:05
Script start
Timing: Jan 31 2025 06:17:05
Module start 'layout'
Timing: Jan 31 2025 06:17:05
Module start 'content'
Timing: Jan 31 2025 06:17:05
Module end 'content'
Timing: Jan 31 2025 06:17:05
Script end

Main resources:

Total runtime0.0210 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0078151.1953
Module start 'layout' 0.00630.0040 739.203136.6094
Module start 'content' 0.01030.0087 775.812590.1016
Module end 'content' 0.01900.0019 865.914129.9922
Script end 0.0209  895.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003014.3886140.0002
Check MTime0.00125.7382140.0001
Mysql Total
Database connection0.00104.529710.0010
Mysqli_queries0.003717.849430.0012
Looping result0.00000.114710.0000
Template Total0.00146.810.0014
Template load0.00115.121410.0011
Template processing0.00031.648110.0003
Override
Cache load0.00063.091710.0006
General
dbfile0.002813.294880.0003
String conversion0.00000.056840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs