Stéphane Lux
Stéphane Lux
@signalpoint Thank you for the info. I will definitely check it out. Meanwhile I have resolved this by checking for a file on the server: ~~~ function mymodule_user_login_submit_check_site_path(form, form_state) {...
I'm using the default `hook_menu()`: ~~~ 'node/%': { 'title': t('Node'), 'page_callback': 'node_page_view', 'page_arguments': [1], 'pageshow': 'node_page_view_pageshow', 'title_callback': 'node_page_title', 'title_arguments': [1] }, ~~~ On the first page the (duplicate) nodes are...
`theme_my_theme_node`: ~~~ function theme_my_theme_node(variables) { try { if (typeof variables.hide_links == 'undefined') { variables.hide_links = false; } if (typeof variables.embed_in_form == 'undefined') { variables.embed_in_form = false; } var node =...
Thanks. Looks good. I think the button should be also reenabled, if the service call returns an error (server down, network connection problem) so that the user can try to...
Where could I put in the node_edit form? In the error closure of the submission handler?
@signalpoint > @luxio This would probably be the best spot(s): > > https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/entity/entity.js#L606 > https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/entity/entity.js#L617 > That way it'll cover it for all core entity types. Thanks, works great. I...
@majuril Thank you. That would work. Using this approach, I would have to preprocess a couple of service calls (nodes, webforms, files, e.g.). I have solved this by setting `Drupal.settings.language_default`...
See also: #816 #748 #491 #178
@rokoG: Thanks for trying. Are the [cordova-plugin-media-capture](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media-capture/index.html), [cordova-plugin-file-transfer](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file-transfer/) and [cordova-plugin-dialogs](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-dialogs/) enabled ? > Also i am using your fork of drupalgap(https://github.com/luxio/DrupalGap) It should also work with the default DrupalGap version.
Coud you share the output of `$ cordova plugin list`