Closed (fixed)
Project:
Foliage
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jan 2007 at 11:48 UTC
Updated:
6 Jan 2007 at 06:45 UTC
The path to the header and footer images would be better if it was relative. The path to the images is fixed and assumes the theme is installed in drupalhome/themes/foliage
It is possible and sometimes desirable to install the theme in other locations, such as drupalhome/sites/www.example.com/themes
style.css could be modified as follows to fix this problem (i.e. remove the '/themes/foliage' string):
#header {
background-color: #8c3;
background-image: url('head960.jpg'); //this is the updated line//
height: 100px;
border: 1px solid #ccc;
}
and
#footer {
background-color: #8c3;
background-image: url('foot960.jpg');
height: 30px;
border: 1px solid #ccc;
color: #fff;
text-align: center;
font-weight: bold;
}
This will work when the theme is in either drupalhome/themes/foliage or drupalhome/sites/www.example.com/themes
Let me know if you must have a patch and I'll roll one up, although it's a bit tricky on the windows platform I use. Otherwise I'll assume you can make the fix in CVS yourself.
Comments
Comment #1
netbjarne commentedHi vjordan.
"A bit tricky" - thats an understatement. Sometimes it feels, that I'm using more time struggling with this to me incomprehensive CVS system, than doing actual development! -- Phew - steam away..
To the issue.
Its an old bug, and has along with others been fixed long time ago. The FINAL version of the foliage theme is in the HEAD (whatever that is). So, you just have to visit http://drupal.org/node/72862/release and download the HEAD instead of the DEV.
Should you know how to fix the link on the project page, I'd be more than happy to hear about it.
Best regards
Bjarne
Comment #2
vjordan commentedBjarne, I'm slowly learning the Drupal.org approach myself. Firstly sorry for filing a duplicate bug - I had looked around a bit but didn't see it in the issues list.
Secondly, I can't help you much on deleting the 4.7.x-1.x-dev release and creating a new 'final' release from CVS. But does the following help a little: http://drupal.org/handbook/cvs/quickstart#delete-tag ? Looks like you could submit an issue to drupal.org maintenance and they'll be able to remove the old release. They might even direct you to the right place for creating a new 4.7 release for foliage, rather than relying on HEAD?
Vincent
Comment #3
netbjarne commentedVincent
No need to be sorry. The issue wasn't logged anywhere, and you *did* draw my attention to the fact that the older version is the default download, so thanks for you help :-)
Bjarne