Hey everyone,

I am trying to save location taxonomy coming from a CCK location field on the core user profile (not using profile2).

In contrast to http://drupal.org/node/1331052 my location taxonomy terms DO get saved correctly, but only after bulk synchronizing. Even though I checked "synchronize the Location Taxonomy with location data as soon as it's submitted", no terms get saved automatically after a user sets or changes his location. Running cron also doesn't help.

Any thoughts on this?

Comments

wemmies’s picture

Having the same problem.

When deleting a taxonomy term i do get an error "Notice: Undefined index: vid in location_taxonomy_form_alter() (line 42 of sites/all/modules/location/contrib/location_taxonomy/location_taxonomy.module).

wemmies’s picture

Ah I just found this, http://drupal.org/node/1489118#comment-5781096 and then read http://drupal.org/node/1331052

Will be trying that patch coming weekend.

wemmies’s picture

Semei, I had the same problem you had. The patch from http://drupal.org/node/1331052 resolved my issue. Be sure to change field_locations in define('LT_LOCATION_CCK_FIELD', 'field_locations'); into the name you set for the location field.

ie define('LT_LOCATION_CCK_FIELD', 'field_your-field-name');

Mark Vincent Verallo’s picture

Had the same issue. I will try #3