Hi bstonehill
Just paste these piece of code to the custom/modules/Accounts/metadata:
editviewdefs:
PHP Code:
'lbl_address_information'=>array(
array (
array (
'name' => 'billing_address_street',
'hideLabel'=> true,
'type' => 'address',
'displayParams'=>array('key'=>'billing', 'rows'=>2, 'cols'=>30, 'maxlength'=>150),
),
array (
'name' => 'shipping_address_street',
'hideLabel' => true,
'type' => 'address',
'displayParams'=>array('key'=>'shipping', 'copy'=>'billing', 'rows'=>2, 'cols'=>30, 'maxlength'=>150),
),
),
),
detailviewdefs:
PHP Code:
array (
array (
'name' => 'billing_address_street',
'label'=> 'LBL_BILLING_ADDRESS',
'type' => 'address',
'displayParams'=>array('key'=>'billing'),
),
array (
'name' => 'shipping_address_street',
'label'=> 'LBL_SHIPPING_ADDRESS',
'type' => 'address',
'displayParams'=>array('key'=>'shipping'),
),
),
Cheers
Bookmarks