images , css , style / theme package

Author Message

Andre Felipe Machado

Tuesday 03 October 2006 10:26:09 am

Hello,
I am trying to customize a style / theme package for my blog site.
But when I try to use images (bullets, arrows, buttons) in the css, they are not shown.
I downloaded some of community contributed styles and examined them to see the relative url of images.
Also, read the excellent beginner tutorial at
http://ez.no/community/articles/build_table_less_css_layouts_with_ez_publish
and successfully modified a style / theme package and imported it.
But if I try to show "arrow.gif" in front of the links, they are not shown.
The search button and login button are now shown, as you can see at http://www.techforce.com.br .

What went wrong? File permissions? Paths?
Regards.
Andre Felipe Machado

PS: Using Firefox free extension webdeveloper, is easy to see the css files.

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Claudia Kosny

Tuesday 03 October 2006 11:04:47 am

Hello Andre

Try using (../images/arrow.gif) as path.
The stylesheets are usually in the folder /design/news/stylesheets and the pictures in the folder /design/news/images. Thus the path for the pics must go to the parent of the stylesheets folders and then into the images folder.

I am not sure whether the structure is the same for the supplied styles, I have never looked at them.

Greetings from Luxembourg

Claudia

Andre Felipe Machado

Tuesday 03 October 2006 5:41:51 pm

Hello,
Many thanks for your message.
I already tried your relative url suggestion.
When a style is packaged, its files are stored in another directory tree, very different from the supplied stiles.
The css files are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file directory and
images are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file/images
directory.
The example style packages use the ../images/picture.gif url style.
Maybe, there is some override at another place.
Any ideas?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

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 15:53:51
Script start
Timing: Jan 18 2025 15:53:51
Module start 'layout'
Timing: Jan 18 2025 15:53:51
Module start 'content'
Timing: Jan 18 2025 15:53:52
Module end 'content'
Timing: Jan 18 2025 15:53:52
Script end

Main resources:

Total runtime0.8195 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.0040 587.9141152.6250
Module start 'layout' 0.00400.0025 740.539139.4609
Module start 'content' 0.00650.8119 780.0000536.0469
Module end 'content' 0.81840.0011 1,316.046912.1563
Script end 0.8194  1,328.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.3438160.0002
Check MTime0.00120.1491160.0001
Mysql Total
Database connection0.00070.080710.0007
Mysqli_queries0.766393.5075570.0134
Looping result0.00050.0629550.0000
Template Total0.792396.720.3962
Template load0.00200.242820.0010
Template processing0.790396.443620.3952
Template load and register function0.00010.016510.0001
states
state_id_array0.00070.089210.0007
state_identifier_array0.00060.077720.0003
Override
Cache load0.00180.2175400.0000
Sytem overhead
Fetch class attribute can translate value0.00050.067020.0003
Fetch class attribute name0.00160.197740.0004
XML
Image XML parsing0.00060.068320.0003
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00140.1655160.0001
String conversion0.00000.000740.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
2content/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
5content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs