Closed (fixed)
Project:
SpreadFirefox
Version:
5.x-0.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jan 2007 at 19:43 UTC
Updated:
20 Jan 2008 at 18:07 UTC
tried latest 5.x.0.1 theme with drupal 5Rc1. Even though I have blocks defined for right column (and they do show as defined under right column in blocks admin) they actually always show on the left side of page.
Comments
Comment #1
ajayg commentedit behaves same in both IE 6 and firefox. So this is not browser specific.
Comment #2
ajayg commentedComment #3
ajayg commentedcorrected typo
Comment #4
ajayg commentedHere is a solution
in the page.tpl.php
find
@import url(
print "/" .path_to_theme()."/modules.css";);@import url(
print "/" .path_to_theme()."/nav.css";);@import url(
print "/" .path_to_theme()."/layout.css";);and change to
@import url(
print base_path() .path_to_theme()."/modules.css";);@import url(
print base_path() .path_to_theme()."/nav.css";);@import url(
print base_path() .path_to_theme()."/layout.css";);Comment #5
Mad Maks commentedcan you please check this bug with RC2? i had just added the "/" because it was missing in my configuration with drupal 5rc2
Comment #6
ajayg commentedYes it is very much there. Just tested with drupal 5.0 released.
Actually the "/" that you added is likley the problem as it is trying to goto absolute path. What is required is "base_path()" so it know the relative path and not the absolute path. Basically it is not finding layout.css (and other CSS) to load.
Comment #7
ajayg commentedI am new here so didn't know how to post. the code above is messed up. What I meant is
replace "/" with base_path()
Comment #8
ajayg commentedComment #9
Mad Maks commentedthank you for testing. i now how to handle paths in themes but i had a problem in my setup and the fix for that is also committed in the cvs. i will change it today please check if it is fixed after landed the patch.
thanks again
MM
p.s. never changed the subject, please. only when you have a better title for the issue
Comment #10
Mad Maks commentedpatch is landed, please verify.
Comment #11
Mad Maks commentedComment #12
ajayg commentedSorry Not yet fixed. Just tested with release version of D5 with the latest theme here. Still exact same issue with page.tpl.php. It still goes to absolute path and theme does not work if drupal is install in a subdirectory. you need change "/" to base_path() when including CSS file. Otherwise it can't find there.
Comment #13
Mad Maks commentedyou have downloaded the same version as the last time. you need to download the latest version (at some reason it doesn't show up at the project page, only on the release page.
http://ftp.osuosl.org/pub/drupal/files/projects/spreadfirefox-5.x-1.x-de...
Comment #14
ajayg commentedYou are right. Once I downloaded from the link you gave above, in that version, it is working as expected and no longer have that problem.
Comment #15
(not verified) commentedComment #16
thierry_gd commentedProblem fixed for IE, still existing in firefox 2.0.3
Comment #17
Mad Maks commentedi do not see any problem in Fx 2.0.x