Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add taxonomy_term_reference support #160

Closed
signalpoint opened this issue Aug 30, 2013 · 3 comments
Closed

Add taxonomy_term_reference support #160

signalpoint opened this issue Aug 30, 2013 · 3 comments

Comments

@signalpoint
Copy link
Owner

We need taxonomy_term_reference support.

signalpoint added a commit that referenced this issue Sep 4, 2013
…x, added the drupalgap.taxonomy_vocabularies variable which will eventually hold the service index result, and brought in a copy of drupalgap_jqm_page_event_script_code() that hasn't been merged in yet from another branch. Started on theme_taxonomy_term_reference() and _theme_taxonomy_term_reference_load_items().
signalpoint added a commit that referenced this issue Sep 5, 2013
…ts and to send them along to the page event handler. Added drupalgap_taxonomy_vocabularies_extract(). Changed drupalgap.services.drupalgap_system.connect success to extract taxonomy vocabularies from the result data. Changed theme_taxonomy_term_reference() to load the vocabulary from its machine name, pass arguments along to the pageshow handler, and set an onchange event listener on the select list. Changed _theme_taxonomy_term_reference_load_items() to accept options and make a call to the drupal server for the terms, it then populates the select list upon success. Added _theme_taxonomy_term_reference_onchange(). Implemented taxonomy_vocabulary_machine_name_load().
@signalpoint
Copy link
Owner Author

This requires the latest 7.x-1.x-dev snapshot of the DrupalGap module to work:

https://drupal.org/project/drupalgap

Alternatively, it will be available in version 7.x-1.5 of the module.

signalpoint added a commit that referenced this issue Sep 5, 2013
…ate() during image_form_alter() and moved the file create resource from _image_field_form_submit() over to _image_field_form_validate() so the file id can be properly set before form submission.
@signalpoint
Copy link
Owner Author

Postponing this issue until #178 is resolved.

signalpoint added a commit that referenced this issue Sep 8, 2013
…ement_id() to take in an optional language code and delta as arguments which are appended to the id. Changed drupalgap_form_state_values_assemble() and drupalgap_field_info_instances_add_to_form() to take into consideration language codes and delta values on field elements. Changed drupalgap_form_load() when iterating over elements, to generate the element's id and options attributes id.
signalpoint added a commit that referenced this issue Oct 26, 2013
… Added a children array property that can be set on form element items to place additional render objects or markup with them.
signalpoint added a commit that referenced this issue Oct 26, 2013
… arguments into a single item array, if the arguments are not an array. Changed options_field_widget_form() to use markup:drupalgap_jqm_page_event_script_code() when placing taxonomy terms in a select list.
@signalpoint
Copy link
Owner Author

The 7.x-1.x-alpha branch now supports single value taxonomy term reference fields that use a select list widget. Grab the latest copy of 7.x-1.x-alpha for this feature, or wait for 7.x-1.7-alpha to come out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant