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' => 480, 'height' => 640, 'resizeMethod' => 'cropCenter'], 'companyDescription' => [ 'rowTpl' => '%title%: %value%
', 'linkTpl' => 'Add this Company as a New Company', 'fields' => [ 'name' => 'Name', 'address' => 'Address', 'address2' => 'Address 2', 'city' => 'City', 'state' => 'State', 'zip' => 'Zip' ] ], 'export' => [ 'dynamicFieldsAfter' => 'companyZip', 'fields' => [ Module::MODE_SIMPLE => [ 'id' => 'User ID', 'added' => '', 'status' => '', 'firstName' => '', 'lastName' => '', 'email' => '', 'directPhone' => 'Phone', 'billingFirstName' => '', 'billingLastName' => '', 'billingAddress' => '', 'billingAddress2' => '', 'billingCity' => '', 'billingState' => '', 'billingZip' => '', 'shippingAsBilling' => '', 'shippingFirstName' => '', 'shippingLastName' => '', 'shippingAddress' => '', 'shippingAddress2' => '', 'shippingCity' => '', 'shippingState' => '', 'shippingZip' => '', ], Module::MODE_ASSOCIATION => [ 'id' => 'User ID', 'added' => '', 'status' => '', 'membershipType' => '', 'firstName' => '', 'lastName' => '', 'email' => '', 'directPhone' => '', 'cellPhone' => '', 'photo' => '', 'bio' => '', 'linkedInUrl' => '', 'homeAddress' => '', 'homeAddress2' => '', 'homeCity' => '', 'homeState' => '', 'homeZip' => '', 'billingFirstName' => '', 'billingLastName' => '', 'billingAddress' => '', 'billingAddress2' => '', 'billingCity' => '', 'billingState' => '', 'billingZip' => '', 'shippingAsBilling' => '', 'shippingFirstName' => '', 'shippingLastName' => '', 'shippingAddress' => '', 'shippingAddress2' => '', 'shippingCity' => '', 'shippingState' => '', 'shippingZip' => '', 'companyName' => '', 'companyPhone' => '', 'companyFax' => '', 'companyAddress' => '', 'companyAddress2' => '', 'companyCity' => '', 'companyState' => '', 'companyZip' => '', 'joinDate' => '', 'leadershipGroup' => '', 'leadershipPosition' => '', 'notes' => '', ], ], ], 'filterFields' => [ Module::MODE_SIMPLE => ['User' => ['firstName', 'lastName', 'email']], Module::MODE_ASSOCIATION => ['User' => ['firstName', 'lastName', 'email'], 'Company' => ['name']], ], 'previewData' => [ 'userId' => -9999, 'htmlPlaceholders' => [ 'firstName' => 'John', 'lastName' => 'Doe', 'email' => 'john@doe.com', 'directPhone' => '111.222.3333', 'billingFirstName' => 'John', 'billingLastName' => 'Doe', 'billingAddress' => 'Anonymous ave.', 'billingAddress2' => '', 'billingCity' => 'Minneapolis', 'billingState' => 'MN', 'billingZip' => '55000', 'shippingAsBilling' => 'Yes', 'shippingFirstName' => 'John', 'shippingLastName' => 'Doe', 'shippingAddress' => 'Anonymous ave.', 'shippingAddress2' => '', 'shippingCity' => 'Minneapolis', 'shippingState' => 'MN', 'shippingZip' => '55000', ], 'dbData' => [ 'status' => Entity::STATUS_ACTIVE, 'firstName' => 'John', 'lastName' => 'Doe', 'alias' => 'john-doe', 'email' => 'john@doe.com', 'directPhone' => '111.222.3333', 'cellPhone' => '444.555.6666', 'photo' => 'images/member-no-photo.png', 'bio' => 'Ei eum vidit abhorreant scriptorem, id facer virtute pro. Ea ius sale pertinacia definitionem, esse vivendum ex sit, populo quodsi option ei usu. ' . 'Utinam putant cu cum. Idque debet nihil ex pri.

Ex habeo consul repudiandae vis, sit magna cotidieque an. Duo ea esse prima. ' . 'Pri ullum inermis definitionem ea, velit omittam petentium est no, sit numquam ancillae ut. Id quando munere cotidieque vix, munere splendide adversarium no mea. ' . 'Ius malorum tincidunt te, te has tritani perpetua consequat, sea quis sententiae ne. Te ius impetus pertinax, ut aliquam democritum eos. ' . 'Adipisci referrentur in cum, has et purto possit, quo suas.', 'linkedInUrl' => 'https://www.linkedin.com/', 'fullName' => 'John Doe', 'billing' => [ 'firstName' => 'John', 'lastName' => 'Doe', 'address' => 'Anonymous ave.', 'address2' => '', 'city' => 'Minneapolis', 'state' => 'MN', 'zip' => '55000', 'email' => 'john@doe.com', 'phone' => '111.222.3333', ], 'shipping' => [ 'firstName' => 'John', 'lastName' => 'Doe', 'address' => 'Anonymous ave.', 'address2' => '', 'city' => 'Minneapolis', 'state' => 'MN', 'zip' => '55000', 'asBilling' => 'y', ], 'company' => [ 'name' => 'NWC', 'address' => 'Anonymous ave.', 'address2' => 'Office 123', 'city' => 'Minneapolis', 'state' => 'MN', 'zip' => '55000', 'phone' => '777.888.9999', 'fax' => '111.222.3333', 'websiteUrl' => 'http://website.com', ], ] ], );