Posted by MegaChriz on December 16, 2011 at 1:58pm
| Download | Size | md5 hash |
|---|---|---|
| uc_extra_fields_pane-6.x-2.0-beta1.tar.gz | 51.6 KB | 29623509d129ce89abaf8e440c233c70 |
| uc_extra_fields_pane-6.x-2.0-beta1.zip | 64.75 KB | aaa2b1ee78843dbf0a563dddc6a5521c |
Last updated: December 16, 2011 - 14:00
Release notes
This release introduces a redesigned API. Developers that made extensions for this module are encouraged to update their modules. Alternatively, you can revert to 6.x-2.0-alpha1. That version misses integration with Ubercart Addresses 6.x-2.x and uses extra panes for address fields in the order administration.
Changes since Extra Fields Pane 6.x-2.0-alpha1
The following changes were made in the API:
- Class files were moved from 'includes' to 'class'.
-
Introduced classes UCXF_Pane and UCXF_AddressPane. These classes replaces the following functions:
- uc_extra_fields_pane_load_pane_type()
- uc_extra_fields_pane_uc_checkout_pane_address()
- uc_extra_fields_pane_order_handler()
These classes are used for checkout and order panes.
-
Introduced class UCXF_FieldList which will replace the following functions:
- uc_extra_fields_pane_create_field()
- uc_extra_fields_pane_load_fields_from_db()
- Introduced class UCXF_Value. This class is used to keep track of all field values (entered by customers) currently loaded.
- Implemented autoload function (for automatically loading of classes).
Fixes:
- Issue #904054 by MegaChriz: extra address fields now appear in the order panes of Ubercart instead of being showed separately.
- Issue #913876 by MegaChriz: added Ubercart Addresses 6.x-2.x integration code.
- by MegaChriz: added permission "use php fields".
- by MegaChriz: renamed docs/hooks.php to uc_extra_fields_pane.api.php.
- by MegaChriz: added tests for SimpleTest.