I had this error
jqm.mobile.autoInitializePage = ;
on page load.
I think I followed coorectly the installation instructions
I attach the libraries directory and also the jquery mobile config
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | missingsettings_corrected-154340_4.patch | 4.23 KB | jasonsavino |
| #4 | missingsettings_corrected-1543400.patch | 4.39 KB | adamjanzen |
| #1 | missingsettings-1543400.patch | 4.23 KB | adamjanzen |
| Pantallazo de 2012-04-23 19:49:59.png | 44.65 KB | egarias | |
| Pantallazo de 2012-04-23 19:48:15.png | 26 KB | egarias |
Comments
Comment #1
adamjanzen commentedSeems the settings array is not set. Have written patch that accounts for this when outputting the js.
Comment #2
adamjanzen commentedComment #3
minoroffense commentedChange the isset's to array_key_exists
http://php.net/manual/en/function.array-key-exists.php
Comment #4
adamjanzen commentedSorry, replaced isset with array_key_exists. Updated patch attached.
Comment #5
egarias commentedThis patch is working, the error is gone.
But I don't see a jquery theme as in the previous version.
my site is http://peoplenews.me and my mobile site is http://m.peoplenews.me
Comment #6
jasonsavino commentedpatch failed.
changed: if (isSet($settings['ajaxEnabled'])
to: if (isSet($settings['ajaxEnabled']))
updated patch attached
Comment #7
jasonsavino commentedpatch applied to dev branch. works for me.
Comment #8
egarias commentedApplied the patch same result for me, still doesn't show mobile theme.
i don't see any javascript mobile, this script in my head may help
The dev branch has not the patch in
Comment #9
jasonsavino commentedmake sure you visit the configuration page: /admin/config/jquerymobile/settings
Comment #10
egarias commentedOn global options:
if using "Other jQuery Mobile File Location" the help text is incorrect "Enter the location where the jquery files are hosted (no trailing slashes)."
I tried to download the frameworks as told in the docs and install in sites/all/libraries, This gave me confusion, at the end after your recomendation I checked all the options and the only working for me was "Framework location Hosted (http://code.jquery.com)" as i was using in the previous version.
With this config the mobile theme is showing on my site.
In admin/config/jquerymobile/settings/peoplenews_mobile (being peoplenews_mobile) my subtheme, I am not able to set it up.
I have these errors
Because they come empty, I tried to fill them:
With those values, the submit form is ok, but they are not being saved
Thanks
Comment #11
minoroffense commented@egarias I think your issue is actually this one #1561288: Undefined index errors when loading theme settings on admin page
I'm applying the patch from #6.
Comment #12
minoroffense commentedActually scratch that, #6 should be using array_key_exists since isset would return false on some values like '' which may be valid values in the jQuery Mobile settings.
If the array key exists in the settings array, we output the value.
Comment #13
minoroffense commentedComment #14
Alexander Matveev commentedSee http://drupal.org/node/1787786
Comment #15
kscheirerPatch has already been applied, this has been fixed in latest dev. So has the related issue #1787786: Settings form does not save anything. In any case, there's no patch to review here.