Corporate template - CSS and image path bug??

Author Message

steve walker

Tuesday 16 March 2004 7:59:33 am

Hi,

On installing the corporate template, I noticed an odd bug with the install.

Basically, the installation created the /design directory, and in it are the folders you'd expect... images, stylesheets, templates etc. All seemed OK, until I tried changing some of the css and couldnt get anythnig to change...

It turns out that, while the install is using /design/stylesheets directory for the core.css file, and /design/templates for the template files.... its using.

..wait for it....

/var/coroporate/storage/packages/corporate_blue/files/default/file/design/corporate/ and within the corporate directory is using the /stylesheet for corporate_blue.css and /imagers for all associated imagery!!!

Very strange. Obviously its no showstopper, but I wonder:

a) has anyone seen this before - is it a bug, and
b) how do I force it to use the normal paths?!

Cheers, Steve.

http://www.oneworldmarket.co.uk

steve walker

Thursday 18 March 2004 12:19:46 am

Hi there,

Any ideas on this?? Most importantly I'd like to force it to use the correct path if this is possible at all???

Thanks, Steve.

http://www.oneworldmarket.co.uk

Alex Jones

Thursday 18 March 2004 7:11:55 am

Try changing or better yet, overriding <i>link.tpl</i> to use the path that it should be utilizing.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 08:19:30
Script start
Timing: Jan 31 2025 08:19:30
Module start 'layout'
Timing: Jan 31 2025 08:19:30
Module start 'content'
Timing: Jan 31 2025 08:19:31
Module end 'content'
Timing: Jan 31 2025 08:19:31
Script end

Main resources:

Total runtime1.0306 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.0051 588.2656151.2266
Module start 'layout' 0.00510.0028 739.492236.6797
Module start 'content' 0.00791.0219 776.1719925.0625
Module end 'content' 1.02970.0009 1,701.234411.8125
Script end 1.0306  1,713.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3032160.0002
Check MTime0.00130.1245160.0001
Mysql Total
Database connection0.00070.071710.0007
Mysqli_queries0.981995.2801570.0172
Looping result0.00040.0418550.0000
Template Total0.991596.220.4958
Template load0.00210.199720.0010
Template processing0.989496.007620.4947
Template load and register function0.00140.133610.0014
states
state_id_array0.00240.231310.0024
state_identifier_array0.00160.155020.0008
Override
Cache load0.00170.1609210.0001
Sytem overhead
Fetch class attribute can translate value0.00040.042920.0002
Fetch class attribute name0.00170.168940.0004
XML
Image XML parsing0.00070.070720.0004
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00090.0865160.0001
String conversion0.00000.000840.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs