Give it a try. Seems to work ok.

Comments

mustardman’s picture

I don't have a CVS account but here is what I did if someone else would like to test and then submit it.

Added "spreadfirefox.info" file
changed all instances of "$sidebar_left" to "$left"
changed all instances of "$sidebar_right" to "$right"
changed all instances of "$footer_message" to "$footer"
changed all instances of "$language" to "$language->language"

That's it!

Mad Maks’s picture

when i am back home next week, i will test your work and commit it if it is ok.

Thanks for the work!

ffletch’s picture

So is this good to go? I'd love to use it!

patataur’s picture

I tried it for a few minutes on a drupal 6 website. It appears to work fine :)

ffletch’s picture

Any chance of an "official" release? Even a dev release would make me feel a bit more comfortable with using it on a production site.

skor’s picture

StatusFileSize
new92.45 KB
new65.66 KB

Mostly looks good. Couple of issues for me:
- In the right sidebar, the light green background for blocks is gone and the block titles are not bolded
- I often get the main content pushed down below the bottom of the left side bar (FF3 example attached)

skor’s picture

Looks like there's still lots of 'sidebar-left' and 'sidebar-right' in the css. We could either change them all to 'right' and 'left' like the regions in the template, or we could just go back to calling the regions what they were before and defining them properly in the .info file.

Personally, I'd prefer the latter, since I think in the end, that would be a smaller change from the 5.x version. I'll try to take a crack at that tonight.

skor’s picture

StatusFileSize
new329 bytes

Well, it seems to work. For you 5.x to 6.x upgraders, try just adding this .info file (remove the .txt extension, I couldn't upload it with the .info ext). It fixes my side-bar style problems, but not the main content problem.

skor’s picture

To be clear don't add my .info file to the zip package in the original post. No changes to the files you already have for 5.x. Just add the .info file to what you have.

skor’s picture

Status: Active » Needs work

OK, one more problem with the original package. The footer message doesn't print. This is fixed in #8 above.

I'm marking it 'needs work' because I still have the css clear issues in #6 and I haven't considered the $language to $language->language change referenced in the orignial.

Any help would be appreciated.

skor’s picture

StatusFileSize
new727 bytes

OK, found the reference for changing $language to $language->language so here's a patch to be applied to the 5.x version of page.tpl.php.

So to test:

  1. download latest 5.x theme and install.
  2. download the .info file in #8 (remove the .txt from the end) and put in the spreadfirefox directory
  3. apply the page.tpl.php patch (or make the edit manually)

Still need a fix for the css clear issue. could it be a result of the way I only defined the default style.css in the .info file? All the other css files seem to be getting applied also, but I don't pretend to understand how that works.

skor’s picture

Well, figuring that the firefox problem in the would be easier to solve, I started poking around the page i took the firefox screenshot from. It comes from a Drupal 6 install with spreadfirefox theme installed per #11 above. That particular page is a calendar view built with Date-6.x-2.0-rc1, Calendar-6.x-2.0-rc1, and Views-6.x-2.0-rc1. The huge white-space is a div (

which contains the Month and < > links. Some of the css for that div comes from the main /modules/system/defaults.css file, which ends like this:
.clear-block {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clear-block {
  height: 1%;
}
.clear-block {
  display: block;
}
/* End hide from IE-mac */
} In firebug, it looks like the display:inline-block is getting over-ridden by the display:block. Not being a CSS guru, I'm not sure what the "Hides from IE-mac" trickery is supposed to do, but if I disable the display:block and fall back to the display:inline-block, the alignment looks perfect. Since /modules/system/defaults.css is a core file, I hate to mess with it. So for now, I've modified my date.css (from the date module) do add the line indicated below
.date-nav {
  width:100%;
  display:inline-block;    <=== This one
}
Anybody else using this same combo of Drupal 6, Date, Calendar and Spreadfirefox???
skor’s picture

Status: Needs work » Needs review

Since my last change was not actually a change to this them, I guessI'll mark this 'needs review'. Hopefully someone besides me is still using this theme. Anybody else tried this out?

Bueller? ... Beuller? ...

Anonymous’s picture

I do have a bunch of 5.x sites using this theme so I _will_ need it. However, I currently can't move them to 6 yet ...

Anonymous’s picture

I use this theme on my main site, which is currently 5.x. I have a non-production test site setup for it that I have upgraded to 6.x. I tried to do a port on my own of the SFF theme, and I am also getting the clear issue mentioned in #8 and #12 above.

I am also not fully versed in CSS, so am unable to sort it out. My next step is to try installing firebug and see if I can tweeze out what is wrong.

skor’s picture

To upgrade your SFF theme, did you follow the steps in #11? If you would, then we'd be debugging the same code. Are you using Date & Calendar modules?

Thanks.

Anonymous’s picture

I actually did not follow steps in #11, but just followed the steps in the theming guide for porting 5.x themes to 6.x. Also, I am not using Date & Calendar modules. All the same, I had the same or similar results as yourself.

When I get some time, I'll try following your steps and see what happens.

pengi’s picture

Might there be a dev release of this theme soon for 6.x?

skor’s picture

@pengi,
I've tried to contact the theme's maintainer, but haven't gotten a reply. Could you follow the steps in #11 above and give me some feedback on how it works for you? If you're not comfortable applying the patch, I could upload the new page.tpl file later this evening.

If I can get some other review, maybe we can get this put out at least as a 6.x-dev release.

Mad Maks’s picture

sorry for the silence from my site. I have just upgraded one of my sites to drupal 6.x and going to test the changes of skor. As soon as possible i will upgrade the theme on drupal.org.

MM

pengi’s picture

That'd be great...Skor I've not used patches so I'll wait for the release. Thanks

skor’s picture

StatusFileSize
new4.43 KB

@Mad Maks, no problem and no need to apologize. I'd appreciate any help you could give. I'm not much of a css guru, though I'm recognizing the need to learn it.

@pengi, here's the page.tpl.php file with the patch applied. You'll have to remove the .txt ending (drupal.org added that for some reason) and then you can just put it in the themes/spreadfirefox directory with the rest of the files. Would appreciate any testing help you could give. Any chance you're using the calendar and date modules?

And for anyone else who's interested, I went ahead and deployed my updates to this site: http://news.stpaulcatholic.org

Mad Maks’s picture

Status: Needs review » Fixed

please test http://ftp.drupal.org/files/projects/spreadfirefox-6.x-1.x-dev.tar.gz

i don't see the problem #12 with the latest version of the mention modules

skor’s picture

Thanks!
I'm planning an upgrade this weekend. I'll let you know how it works.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.