Active
Project:
jQuery Mobile
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2010 at 21:05 UTC
Updated:
9 Mar 2011 at 17:23 UTC
I've been researching solutions for displaying on smart phones (such as jqtouch) and this sounds interesting. Do you plan for the initial release to be for Drupal 7? I'd love to see that.
--Ben
Comments
Comment #1
vishun commentedSome tests have yet to be performed, but depending on what version of jQuery core that jQuery Mobile requires, Drupal 7 may be the only option. We will have to see.
In the mean time, check out
http://drupal.org/project/iui
http://drupal.org/project/iwebkit
http://drupal.org/project/idrupal
Comment #2
DerTobi75 commentedHope you can make this one also available for Drupal 6! Good luck!
Comment #3
vishun commentedAfter some preliminary tests it appears as though jQuery Mobile is not compatible with Drupal 6 or Drupal 7, even with the latest appropriate version of jQuery update. It appears to require jQuery core 1.4.3. D7 jquery_update 1.4.2 does not appear to work, but more tests will need to be performed. D6 the latest jQuery Update is 1.3.2 and this definitely doesn't work. I tried to hack 1.4.3 into D6 and it kinda worked, but was primarily fail.
However, D6 jQuery Update may be getting a 1.4.2 update soon as per http://drupal.org/node/685060 but early tests showed that its possible JQM does not work with it. I need to confirm this though on D7 as my test was not exactly kosher. I would also like to remain optimistic that we can potentially get something working.
For the time being, this simply may not be technically possible. If this is the case, I may consider simply releasing a theme that *looks* like jQuery mobile with its stylesheet and basic feel for a basic structure, but ultimately what this would mean is there would be literally 0 javascript related to jQuery Mobile, so no page transitions, effects, loaders, basically nothing fancy. A regular mobile flavored theme with no bells or whistles.
Comment #4
vishun commentedComment #5
pcwick commentedIt looks like these might make it into D7.
Update to jQuery 1.4.3
http://drupal.org/node/944308
Update to jQuery UI 1.8.5
http://drupal.org/node/916968
links edited to fix error
Comment #6
vishun commentedInteresting! Will definitely keep an eye on those, thanks pcwick. I wonder if D6 + 1.4.3 is feasible, guess there is only one way to find out.
Just to fix the previous links for:
http://drupal.org/node/944308
http://drupal.org/node/916968
Also note, we did get a version of a jQuery Mobile theme working two days ago by indeed manually replacing the jquery core to 1.4.3. We should be making an initial release soon with the simple recommendation of manually replacing jquery (pending further developments in the threads above)
Comment #7
BenK commentedJust an update that jQuery 1.4.3 and jQuery UI 1.8.6 were recently committed to Drupal 7 core.
You can see the commits here:
http://drupal.org/cvs?commit=444780
http://drupal.org/cvs?commit=444782
As a result, I'd love to see initial work on this module be done for Drupal 7.
--Ben
Comment #8
sachbearbeiter commentedsubscribe
Comment #9
cialog commentedsubscribe
Comment #10
RockSoup commentedfrom the jQuery mobile site:
and jQuery 1.4.4 is now in core: http://drupal.org/node/944308#comment-3698894
looking forward to seeing more.
*edit to fix link
Comment #11
Rj-dupe-1 commentedSubscribing/any movement on this?
Comment #12
donatello commentedsubscribing...is jqmobile working straight away with D7 or is there some tweaking to do before it works?
thanks a lot for this amaizing work.
Comment #13
christophweber commentedExciting developments! Subscribing.
Comment #14
dre2phresh commentedSubscribing
Comment #15
Korinvall commentedSubscribing
Comment #16
vishun commentedI decided to check out the on-going discussion about Drupal 6 and jQuery 1.4.4 http://drupal.org/node/685060 and it looks like they figured out a way to get it working with noConflict and basically not using jQuery 1.4.4 for the admin area. It is not a direct replacement, and things that need to be done with jQuery 1.4.4 need to be called up using "$jq" instead of "$" but its a start. I have contributed an alternate approach to using an admin theme http://drupal.org/node/685060#comment-4071576
I am guessing tho that this would require some fundamental change in the jQuery being called by jQuery Mobile. Will have to look into this further. Any help would be much appreciated. I will get in touch with Mick and see what the current status of the previous prototype is.
Comment #17
mgiffordJust wanted to add a link here to the jquery mobile presentation at DrupalCon
http://chicago2011.drupal.org/sessions/drupal-go-jquery-mobile
Keen on seeing this module.