Module::MODE_ASSOCIATION, // this option can be overridden in the www/_lib/app-config/user.php 'hasLock' => true, 'resourceName' => 'User', 'itemName' => 'Individual', 'itemsName' => 'Individuals', 'photo' => ['width' => 160, 'height' => 213, 'resizeMethod' => 'cropCenter'], 'filterFields' => ['User' => ['nickname', 'firstName', 'lastName', 'email']], 'uniqueEmailMessage' => 'This email address is already associated with an account. Please enter another one.', 'dynamicFormRelations' => [ [ '_element' => 'leadershipGroupId', 'node' => '#leadershipGroupId', 'group' => '#leadershipGroupId', 'event' => 'change', 'rules' => [ [ '_value' => function ($val) { return ('' != $val); }, 'value' => new Zend_Json_Expr('(function (val) { return ("" != val); })'), '_elements' => [ 'leadershipPosition', 'leadershipPhoto', 'leadershipBio', 'metaTitle', 'alias', 'metaKeywords', 'metaDescription', 'linkedInUrl' ] ], ] ] ], 'export' => [ 'dynamicFieldsAfter' => 'billingZip', 'fields' => [ Module::MODE_ASSOCIATION => [ 'id' => 'Individual ID', 'firstName' => '', 'middleInitial' => '', 'lastName' => '', 'nickname' => '', 'companyName' => 'Company', 'companyStatus' => 'Company Status', 'surveyContact' => '', 'managementPrivileges' => 'Management Privileges', 'status' => 'Individual Status', 'email' => 'Email Address', 'directPhone' => 'Direct Phone Number', 'cellPhone' => 'Cell Phone Number', 'jobTitle' => '', 'supervisorName' => 'Name of Supervisor', 'leadershipGroup' => '', 'leadershipPosition' => '', 'billingFirstName' => '', 'billingLastName' => '', 'billingAddress' => '', 'billingAddress2' => '', 'billingCity' => '', 'billingState' => '', 'billingZip' => '', 'mailingAddress' => '', 'mailingAddress2' => '', 'mailingCity' => '', 'mailingState' => '', 'mailingZip' => '', 'notes' => '', 'leadershipBio' => 'Bio', ], ], ], // !!! ensure this configuration doesn't conflict with 'dynamicFormRelations' in the App/Company/Admin/config.php !!! 'companyTypeToFieldMap' => [ CompanyEntity::TYPE_REGULAR => [ 'counties', 'email', 'utilityPhone', 'utilityFax', 'cityOfficesPhone', 'cityOfficesFax', 'yearFounded', 'governedBy', 'meetingInfo', 'utilityCategoryId' ], CompanyEntity::TYPE_ASSOCIATE => ['email', 'phone', 'fax', 'logo', 'associateCategory', 'competitors'], CompanyEntity::TYPE_AFFILIATE => ['phone', 'fax', 'logo'], ] );