Download & Extend

blocks for right region always showing in left side

Project:SpreadFirefox
Version:5.x-0.1
Component:Code
Category:bug report
Priority:critical
Assigned:Mad Maks
Status:closed (fixed)

Issue Summary

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

#1

Title:right region not working» same problem in both IE 6 and firefox

it behaves same in both IE 6 and firefox. So this is not browser specific.

#2

Title:same problem in both IE 6 and firefox » blocks for right region alwaus showing in left side.

#3

Title:blocks for right region alwaus showing in left side.» blocks for right region always showing in left side.

corrected typo

#4

Here is a solution
in the page.tpl.php
find

@import url(

<?php
print "/" .path_to_theme()."/modules.css";
?>
);
@import url(
<?php
print "/" .path_to_theme()."/nav.css";
?>
);
@import url(
<?php
print "/" .path_to_theme()."/layout.css";
?>
);
and change to
@import url(
<?php
print base_path() .path_to_theme()."/modules.css";
?>
);
@import url(
<?php
print base_path() .path_to_theme()."/nav.css";
?>
);
@import url(
<?php
print 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

Title:blocks for right region always showing in left side.» messed up code above

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

Title:messed up code above» blocks for right region always showing in left side

#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

Status:active» fixed

#12

Status:fixed» active

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

Assigned to:Anonymous» Mad Maks
Status:active» fixed

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

Status:fixed» closed (fixed)

#16

Status:closed (fixed)» active

Problem fixed for IE, still existing in firefox 2.0.3

#17

Status:active» closed (fixed)

i do not see any problem in Fx 2.0.x