blocks for right region always showing in left side
ajayg - January 14, 2007 - 19:43
| Project: | SpreadFirefox |
| Version: | 5.x-0.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Mad Maks |
| Status: | closed |
Jump to:
Description
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.

#1
it behaves same in both IE 6 and firefox. So this is not browser specific.
#2
#3
corrected typo
#4
Here is a solution
in the page.tpl.php
find
@import url(
<?phpprint "/" .path_to_theme()."/modules.css";
?>
@import url(
<?phpprint "/" .path_to_theme()."/nav.css";
?>
@import url(
<?phpprint "/" .path_to_theme()."/layout.css";
?>
and change to
@import url(
<?phpprint base_path() .path_to_theme()."/modules.css";
?>
@import url(
<?phpprint base_path() .path_to_theme()."/nav.css";
?>
@import url(
<?phpprint base_path() .path_to_theme()."/layout.css";
?>
#5
can you please check this bug with RC2? i had just added the "/" because it was missing in my configuration with drupal 5rc2
#6
Yes 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.
#7
I am new here so didn't know how to post. the code above is messed up. What I meant is
replace "/" with base_path()
#8
#9
thank 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
#10
patch is landed, please verify.
#11
#12
Sorry 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.
#13
you 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...
#14
You 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.
#15
#16
Problem fixed for IE, still existing in firefox 2.0.3
#17
i do not see any problem in Fx 2.0.x