Sweaver not working with Drupal theme is the a problem with it being html5?

Comments

Anonymous’s picture

I'll try this on D7 later but no one is actually working on the D6 version at the moment.

ScottSimpson’s picture

thanks let me know if it works in D7, the theme I want to use is Fluid Baseline Grid

Anonymous’s picture

Everything works fine on my side. But again I only tested the D7 version.

ScottSimpson’s picture

which version of jquery are you using as sweaver 6.1.1 only works with 1.2.6 I've tried to upgrade every few visions yet it just breaks sweaver, I try loading it up with D7 and see if that works, thanks for getting back

Anonymous’s picture

D7 works with jQuery 1.4.4.
All I can do for you is check out your site if you have a live version.

ScottSimpson’s picture

I have it working in D7 now, can't work out why its not working with D6 would be handy as I've been using D6 only so far and apart from a test try when it first came out I have yet to break my D7 cherry.

jorrit’s picture

Status: Active » Closed (won't fix)

fbg loads another copy of jQuery. This causes the $ variable to be redefined, and Sweaver needs the toJSON function that was attached to $ previously to work. Personally, I think that it is the responsibility of fbg to make sure that loading another copy of jQuery doesn't break other code. They should call jQuery.noConflict() or something like that.

ScottSimpson’s picture

I've posted about fluid baseline not working in IE 6-8, would you have a look at it see if you can see what the problem is.

Thanks

jorrit’s picture

I already looked at it and wrote in my previous comment what the problem is: the fbg theme loads a second copy of jQuery. This causes Sweaver to fail.

ScottSimpson’s picture

Thanks, I did read your comment, Sweaver works in D7 with no problems. My problem is that the theme it self breaks in IE 6-8 and only displays content in one column, its supposed to be a problem with respond.js as posted in the issues on github. I have tried zen html5 and arctica themes they use respond.js and html5 shiv and they both work in IE.

I can't see why fbg won't, I've tried lots of different fixes that I've found in other posts but none of these are working. I've posted on quora and stackoverflow as well but no one has come forward with a fix.

One idea was to make fbg desktop first, but I'm unsure how to go about it or if its the best solution.

Any help you can give would be great, thank you for responding back so quick.