Zurbs website now directs people to download and install the compass extension foundation 3.2

Foundation 4.0 should be out in January and will be a big change, so that probably needs to be included in the roadmap.

Maybe we should create the versions 7.x-3.x for foundation 3.x and 7.x-4.x for foundation 4.

That would allow a foundation 7.x-2.x branch using foundation 2 to be created that would allow people that need IE6 support to use foundation.

Comments

ishmael-sanchez’s picture

Priority: Major » Normal
Status: Active » Closed (fixed)

Hi micheas,

Please keep up with what's being committed, see http://drupalcode.org/project/zurb-foundation.git/commit/bb29329. I don't plan to support legacy IE versions; Google Apps and Facebook don't so I'm not, even the Foundation 3 doesn't. A themer can downgrade the framework if they want legacy IE support in their sub theme.

Thanks,
Ishmael

micheas’s picture

I was more thinking about what to do about foundation 4.

The foundation 2 stuff was sort of a bonus of sorts, if anyone wanted to contribute the code.

I have run into many small issues going from foundation 3.0 -> 3.1 -> 3.2 So I am anticipating pain going from 3.2 -> 4.0

Especially as a lot of pixel math is going to be replaced with em math.

ishmael-sanchez’s picture

Status: Closed (fixed) » Postponed

You make a good point, I guess I just don't want to deal with tons of versions or branches to maintain, that's why I have this dev branch. I guess let's wait and see what happens when 4.0 comes out and they we can decide what to do.

ishmael-sanchez’s picture

Title: Upgrade from foundation 3.1 to 3.2 » Upgrade from foundation 3 to 4
Assigned: Unassigned » ishmael-sanchez
Status: Postponed » Active

Since Foundation 4 should be coming out soon I'm changing this title and the focus of this issue to that. The current theme is up to date and running Foundation 3.2

chrisjlee’s picture

What is the update process for foundation? Or is there an update process? Just copying files over?

micheas’s picture

I am in the middle of figuring out how to have two versions of foundation installed at the same time and reliably chose the correct version.

It doesn't look like there is a clean way to do an upgrade from 3.2 -> 4.0. Especially if you use orbit or offcanvas.

alexander.sibert’s picture

I want not to open a new issue but we have now new Version of ZURB Foundation 3.2.5 with jQuery 1.9
http://zurb.com/article/1157/foundation-3-2-5-gets-up-close-and-person

alexander.sibert’s picture

chrisjlee’s picture

@neofelis awesome thanks! Wish i could go

micheas’s picture

I would think that this depends Jquery update getting this issue fixed: http://drupal.org/node/1901672 (support jQuery 1.9)

And that issue is being blocked by adding support for a different version of jquery for admin themes. http://drupal.org/node/1766240 which is almost done.

Overall, I think delaying the upgrade until those two issues are resolved will reduce the amount of work by about 50% and the amount of documentation and support by even more.

I didn't flag it as postponed because both of the jquery_update issues are in the state of needing patches rerolled.

ishmael-sanchez’s picture

@micheas thanks for the suggestion. Only thing I'm waiting to see is I skimmed a post that was talking about Foundation dropping support for jQuery and using another library (Zepto.js) so that throws a wrench into implementing the theme. I guess I will have to see how that all plays out along with the jQuery update issues.

bensnyder’s picture

I'm almost done porting my theme to Foundation 4.0. I LOOOOOOVEEEE foundation 4! It wasn't hard for me to get zepto/jquery working properly. I even was able to get off-canvas working :). I'll post code when I'm done.

micheas’s picture

@ishmael-sanchez Foundation is not dropping support for jQuery, it is using zepto.js by default which does not support IE (any version) and loads jquery instead of zepto if the browser self identifies as IE.

zepto.js is a subset of jquery that the overlap is completely compatible.

@bensnyder do you have anypages that rely on ctools? I'm curious to know how compatible with drupal zepto is.

chrisjlee’s picture

Looks like zurb released their first release client on github:
https://github.com/zurb/foundation/tree/v4.0.0.rc1

and the new docs are up too:
http://foundation.zurb.com/docs/

alexander.sibert’s picture

I can download Zurb Foundation 4 on their startpage but have erros on their docs page.

http://foundation.zurb.com/download.php

ishmael-sanchez’s picture

I had issues as well, I'm exciting for this but I'm wait for the dust to settle before I ripping parts of the theme a part.

Knarf31’s picture

Before ripping parts of the theme apart, please lets consider to make a different version of this theme for Foundation 4.

I don't know how you think about it, but the fact that Foundation4 drops support for IE8 will become a big issue for me and my clients. (Because i'm not quite sure how to explain this to them)

According to browser statistics found across the web, IE8 is still in the top 5 of the most commonly used browserversions.

Is there a chance to have a Foundation 3.25 version of this theme along with a Foundation 4 version?

chrisjlee’s picture

@sweenyy

I was going to bring that up as well. I think at this point we should release what we have as an alpha release candidate. This version still needs some work; but it's very useable.

zach harkey’s picture

I like the idea of making zurb-foundation-4 a separate theme altogether — even a separate Drupal project. Then it would be possible to have foundation 3 and foundation 4 on the same multi-site install without disturbing any legacy sub themes. Just move all new development to zurb-foundation-4.

drupik’s picture

+1 for separate themes.

chrisjlee’s picture

I think different themes seem counterproductive in efforts and could cause some confusion.

I think we should just associate the 1.x branch release as the foundation 3. As alpha candidate.
Foundation 4 would live on a 2.x (rough dev) branch and we all know this is no different than how drupal core development is done.

On another note they've released a migration guide: http://foundation.zurb.com/migration.php

alexander.sibert’s picture

+1 for separate themes.

ishmael-sanchez’s picture

I completely agree with Chris about the 1.x and 2.x branch. I don't really like the idea of making different themes for this just my 2cents.

timani’s picture

I vote for keeping them as branches. Managing and tracking the project will be a lot easier if it is one place.

Would this apply in this case?:

http://drupal.org/node/363367

summit’s picture

I think two branches is also the best solution with the remark that changes should be implemented in both branches, and not that branch 2.x would be the favourable one.
Thanks for bringing Foundation to drupal!
Greetings, Martijn

chrisjlee’s picture

Great. I think we should start work soon and create seperate branches.

Bojhan’s picture

Is this already in the works?

chrisjlee’s picture

@bojhan Yes. I created separate branches to work from.

alexander.sibert’s picture

Have anyone a solution for Zurb Foundation 4 and Drupal 7 jQuery/Zepto?

zach harkey’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
chrisjlee’s picture

Just to be noted the migration guide can be found here: http://foundation.zurb.com/migration.php

We have just started to clean up and upgrade the theme. I'm doing it in whatever free time or capacity i have.

chrisjlee’s picture

Version: 7.x-2.x-dev » 7.x-4.x-dev
chrisjlee’s picture

Status: Active » Closed (won't fix)

Plans have changed zurb foundation 4 will continue ongoing development on 7.x-4.x.