User: bdragon Branch: DRUPAL-5--3 Date: Mon, 24 Nov 2008 20:26:53 +0000 Modified files: /modules/location/contrib/location_cck location_cck.module /modules/location/contrib/location_fax location_fax.module /modules/location/contrib/location_phone location_phone.module /modules/location location.install location.module Log message: Backport of the D6 changes I committed on the 20th. * Add per-location-field weights and defaults. * Add location_api_variant() that I will increment when breaking something in the future that might be used from another module. It is now 1. * Make settings on location_cck work nicely. * Field settings are now in a table. * Field settings defaults can now be overridden in the UI. * Field settings are now weighted. (Draggable in D6!) * "Force Default" may now be used for all fields. * Content type settings validation is repaired again. * Major COW changes (again) -- Should not have any impact on sites, but be careful until the new code is proven. * Tests were added to ensure COW functionality doesn't break. (Tests were committed earlier) API Changes: * If you were using a location_element, the #location_settings is now the *entire* settings array, not $settings['form']['fields']! * hook_locationapi() 'collection default' and 'default values' ops have been merged into a single 'defaults' op, which now allows specifying default weight. * Collection status 3 is now 4. (Relevant for the 'country' field.) Links: http://cvs.drupal.org/diff.php?path=contributions/modules/location/contrib/l... http://cvs.drupal.org/diff.php?path=contributions/modules/location/contrib/l... http://cvs.drupal.org/diff.php?path=contributions/modules/location/contrib/l... http://cvs.drupal.org/diff.php?path=contributions/modules/location/location.... http://cvs.drupal.org/diff.php?path=contributions/modules/location/location....
participants (1)
-
drupal-cvs@drupal.org