I use Drupal 7, Drupalgap1.8, cordova4.0.0.
All other functions works nice. Tile and body field in node edit form disappeared when i visit node edit page.
I use Drupal 7, Drupalgap1.8, cordova4.0.0.
All other functions works nice. Tile and body field in node edit form disappeared when i visit node edit page.
Comments
Comment #1
tyler.frankenstein commentedAre you using a multi lingual site or any language codes?
What is your Ripple URL to test?
Comment #2
g089h515r806 commentedThe Ripple URL is, http://localhost/zhangzhongbao/dg.
For field, the languange code is "und".
In node edit form, only save,delete button display.
In term edit form, term name, description,save, delete button display, custom field which added to this term is disappeared.
login form is correct.
Comment #3
g089h515r806 commentedAt last I find the reason.
The weight of the field is < 0.
Index of js array could not < 0.
one solution is:
rearange the field order at manage field page, make sure that all fields's weight is not <0.
Another solution is change the code of _drupalgap_form_render_elements, to make sure that the weight is > 0.
here is my code:
I add following code to the function:
to make sure field's weight is > 0.
Comment #4
g089h515r806 commentedComment #5
tyler.frankenstein commentedI believe this was fixed here long ago: https://github.com/signalpoint/DrupalGap/pull/369
Comment #6
g089h515r806 commentedYes, it is the same issue. I use DrupalGap 7.x-1.0-rc3 which does not contains the fix.
I try with DrupalGap 7.x-1.0-rc4 yesterday,I use cordova4.0.0, it does not work at all. There is no install document of DrupalGap 7.x-1.0-rc4.
Comment #7
g089h515r806 commented