Re: Plone is now jQuery 1.9 compatible

Johannes Raggam <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Because I was asked how to integrate Bootstrap 3 with jQuery 1.9 on
Plone 4.3, here is my answer.

I made some fixes to the following packages. Include these mr.developer
sources in your buildout (the addons only if you need them, of course):

### jquery 1.9 fixes
plone.app.jquerytools  = git git-9UaJU3cA/F/[email protected]:plone/plone.app.jquerytools.git branch=master
plone.app.jquery = git git-9UaJU3cA/F/[email protected]:plone/plone.app.jquery.git branch=1.9
Products.CMFPlone = git git-9UaJU3cA/F/[email protected]:plone/Products.CMFPlone.git branch=4.3.x

### jquery 1.9 fixes for addons
archetypes.referencebrowserwidget = git git-9UaJU3cA/F/[email protected]:plone/archetypes.referencebrowserwidget.git branch=master
archetypes.querywidget = git git-9UaJU3cA/F/[email protected]:plone/archetypes.querywidget.git branch=master
Products.Collage = git git-9UaJU3cA/F/[email protected]:collective/Products.Collage.git branch=master
collective.referencedatagridfield = git git-9UaJU3cA/F/[email protected]:collective/collective.referencedatagridfield.git branch=master

### style/BS fixes
plone.app.viewletmanager = git git-9UaJU3cA/F/[email protected]:plone/plone.app.viewletmanager.git branch=master
plonetheme.sunburst = git git-9UaJU3cA/F/[email protected]:plone/plonetheme.sunburst.git branch=master


For Bootstrap itself, I'm using bower/grunt managed resources, provided
by plone.resource within a Diazo theme package and included into Plone's
ResourceRegistry.
I'm not using plonetheme.bootstrap or collective.js.bootstrap. These
projects are very useful for Themes, which can be used right away. But I
needed  framework to build upon and where I have maximum control. Also
these projects were missing the fixes mentioned above.

Cheers, Johannes





On Thu, 2014-06-19 at 11:00 +0200, Johannes Raggam wrote:
> Recently I've made some changes to Products.CMFPlone 4.3.x,
> plone.app.jquerytools master and the plone.app.jquery 1.9 branches as
> well as some add-on products to make the whole stack compatible with
> jQuery 1.9, of course while still supporting jQuery 1.7. Older versions
> of jQuery aren't supported anymore, but since Plone 4.3 we depend on
> jQuery 1.7 anyways.
> 
> With all those changes the Plone 4.3 tests go green together with
> plone.app.jquery 1.9! See:
> 
> http://jenkins.plone.org/job/plone-4.3-python-2.7/2353/
> 
> Of course Plone 4.3 will still ship with plone.app.jquery 1.7. jQuery
> 1.9 would most likely break too many add-on products. But from my point
> of view we should include the reworked plone.app.jquerytools. I already
> included it in the buildout.coredev 4.3 branch.
> 
> Besides of modernizing the toolset a bit (but jQuery 1.9 is also years
> old), the reasoning for this change is that Bootstrap 3 has a minimum
> dependency on jQuery 1.9 which I need together with Plone 4.3 on a
> current project.
> 
> 
> Cheers, Johannes
> 
> 
> 
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers

-- 
programmatic  web development
di(fh) johannes raggam / thet
python plone zope development
plone framework  team  member
mail: office-//[email protected]
web:  http://programmatic.pro
      http://bluedynamics.com

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEABECAAYFAlOqkG4ACgkQW4mNMQxDgAfG9ACgjBs9Thyq1ngWjTKTSLfb7kp4
OOkAn3D6FXQ8sMO0qRjskUeLhSCU+WSg
=/3XA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.