Address box glitch

Hi there,

Apologies if this is a newbie question here, but I am trying to understand how Suite CRM works, as it feels there’s something odd going on.

I am using Suite CRM for a church based project and have renamed the Account module as “Churches”. I’ve been into Studio and changed the Labels. I’ve also tried to change the Layouts, but this is where I’m getting stuck.

I’ve set up 2 tabs - Overview and Contact Information. On the Contact Information, I’ve tried to put phone numbers, emails and address for each church, but it is doing some odd things in the Edit View and Detail View (which are Sync’d).

The “Address” field seems to pull in Street, Postal Code, City, County (State), and Country, in that order. But this is obviously the wrong, as the Postal Code should be just before the Country entry.

How do I change the order of these fields to make the Address look right?


navigate to your custom/modules/Accounts/metadata/editviewdefs.php and find the primary address field. replace that with the array below and you should see the default address layout.

array (
‘name’ => ‘primary_address_street’,
‘hideLabel’ => true,
‘type’ => ‘address’,
‘displayParams’ =>
array (
‘key’ => ‘primary’,
‘rows’ => 2,
‘cols’ => 30,
‘maxlength’ => 150,