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

vishun’s picture

Some 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

DerTobi75’s picture

Hope you can make this one also available for Drupal 6! Good luck!

vishun’s picture

Title: Drupal 7 / Drupal 6 version » Drupal 7

After 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.

vishun’s picture

Title: Drupal 7 » Drupal 7 / Drupal 6 version
pcwick’s picture

It 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

vishun’s picture

Title: Drupal 7 » Drupal 7 / Drupal 6 version

Interesting! 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)

BenK’s picture

Just 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

sachbearbeiter’s picture

subscribe

cialog’s picture

subscribe

RockSoup’s picture

from the jQuery mobile site:

NOTE: jQuery Mobile 1.0 Alpha 2 requires jQuery 1.4.4.

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

Rj-dupe-1’s picture

Subscribing/any movement on this?

donatello’s picture

subscribing...is jqmobile working straight away with D7 or is there some tweaking to do before it works?
thanks a lot for this amaizing work.

christophweber’s picture

Exciting developments! Subscribing.

dre2phresh’s picture

Subscribing

Korinvall’s picture

Subscribing

vishun’s picture

I 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

<?php if (arg(0) != "admin") { ?>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">
      var $jq = jQuery.noConflict();
    </script>
<?php } ?>

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.

mgifford’s picture

Just 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.