Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Rules code export
- array (
- 'rules' =>
- array (
- 'rules_sync_users_with_indivual_content_type' =>
- array (
- '#type' => 'rule',
- '#set' => 'event_user_insert',
- '#label' => 'Sync users with indivual content type',
- '#active' => 1,
- '#weight' => '0',
- '#categories' =>
- array (
- 0 => 'crm',
- ),
- '#status' => 'custom',
- '#conditions' =>
- array (
- ),
- '#actions' =>
- array (
- 0 =>
- array (
- '#type' => 'action',
- '#settings' =>
- array (
- 'username' => '',
- 'userid' => '[account:uid]',
- '#argument map' =>
- array (
- 'user_loaded' => 'user_registered_loaded',
- ),
- '#eval input' =>
- array (
- 'token_rules_input_evaluator' =>
- array (
- 'userid' =>
- array (
- 0 => 'account',
- 1 => ':global',
- ),
- 'username' =>
- array (
- 0 => ':global',
- ),
- ),
- ),
- ),
- '#name' => 'rules_action_load_user',
- '#info' =>
- array (
- 'label' => 'Load a user account',
- 'new variables' =>
- array (
- 'user_registered_loaded' =>
- array (
- 'label' => 'loaded registered user',
- 'label callback' => false,
- 'type' => 'user',
- ),
- ),
- 'module' => 'User',
- 'eval input' =>
- array (
- 0 => 'userid',
- 1 => 'username',
- ),
- ),
- '#weight' => 0,
- ),
- 1 =>
- array (
- '#weight' => 0,
- '#info' =>
- array (
- 'label' => 'Use Views to load a node',
- 'new variables' =>
- array (
- 'node' =>
- array (
- 'type' => 'node',
- 'label' => 'Views-provided node',
- 'save' => true,
- ),
- ),
- 'eval input' =>
- array (
- 0 => 'args',
- ),
- 'module' => 'Rules Bonus: Misc',
- ),
- '#name' => 'rb_misc_action_views_load_node',
- '#settings' =>
- array (
- 'view' => 'people|page_2',
- 'args' => '[user_registered_loaded:mail]',
- '#argument map' =>
- array (
- 'node' => 'node',
- ),
- '#eval input' =>
- array (
- 'token_rules_input_evaluator' =>
- array (
- 'args' =>
- array (
- 0 => 'user_registered_loaded',
- 1 => ':global',
- ),
- ),
- ),
- ),
- '#type' => 'action',
- ),
- 2 =>
- array (
- '#weight' => 0,
- '#type' => 'action',
- '#settings' =>
- array (
- 'field_name' => 'field_individual_user_ref',
- '#argument map' =>
- array (
- 'node' => 'node',
- ),
- 'value' =>
- array (
- 0 =>
- array (
- 'uid' => NULL,
- ),
- ),
- 'code' => 'return array(
- 0=> array(\'uid\' => $user_registered_loaded->uid)
- );',
- 'vars' =>
- array (
- 0 => 'user_registered_loaded',
- 1 => 'user',
- ),
- '#eval input' =>
- array (
- 'token_rules_input_evaluator' =>
- array (
- 'code' =>
- array (
- 0 => ':global',
- ),
- ),
- ),
- ),
- '#name' => 'content_rules_action_populate_field',
- '#info' =>
- array (
- 'label' => 'Populate Views-provided node\'s field \'field_individual_user_ref\'',
- 'arguments' =>
- array (
- 'node' =>
- array (
- 'type' => 'node',
- 'label' => 'Content',
- ),
- ),
- 'eval input' =>
- array (
- 0 => 'code',
- ),
- 'module' => 'CCK',
- ),
- ),
- ),
- '#version' => 6003,
- ),
- ),
- )
- Views Export (more displays that needed Just make a view that filters by the contact email)
- $view = new view;
- $view->name = 'people';
- $view->description = 'Individuals in the CRM';
- $view->tag = 'crm';
- $view->view_php = '';
- $view->base_table = 'node';
- $view->is_cacheable = FALSE;
- $view->api_version = 2;
- $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
- $handler = $view->new_display('default', 'Defaults', 'default');
- $handler->override_option('fields', array(
- 'field_contact_picture_fid' => array(
- 'label' => 'Picture',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- 'label_type' => 'widget',
- 'format' => 'uc_thumbnail_default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_picture_fid',
- 'table' => 'node_data_field_contact_picture',
- 'field' => 'field_contact_picture_fid',
- 'override' => array(
- 'button' => 'Override',
- ),
- 'relationship' => 'none',
- ),
- 'field_contact_first_name_value' => array(
- 'label' => 'First',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- 'label_type' => 'custom',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_first_name_value',
- 'table' => 'node_data_field_contact_first_name',
- 'field' => 'field_contact_first_name_value',
- 'relationship' => 'none',
- ),
- 'field_contact_last_name_value' => array(
- 'label' => 'Last',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'custom',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_last_name_value',
- 'table' => 'node_data_field_contact_last_name',
- 'field' => 'field_contact_last_name_value',
- 'relationship' => 'none',
- ),
- 'field_contact_mobile_phone_number' => array(
- 'label' => 'Mobile Phone',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_mobile_phone_number',
- 'table' => 'node_data_field_contact_mobile_phone',
- 'field' => 'field_contact_mobile_phone_number',
- 'relationship' => 'none',
- ),
- 'field_contact_email_email' => array(
- 'label' => 'Email',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_email_email',
- 'table' => 'node_data_field_contact_email',
- 'field' => 'field_contact_email_email',
- 'relationship' => 'none',
- ),
- 'city' => array(
- 'label' => 'City',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'exclude' => 0,
- 'id' => 'city',
- 'table' => 'location',
- 'field' => 'city',
- 'relationship' => 'none',
- ),
- 'province' => array(
- 'label' => 'State/Province',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'style' => 'name',
- 'exclude' => 0,
- 'id' => 'province',
- 'table' => 'location',
- 'field' => 'province',
- 'relationship' => 'none',
- ),
- 'postal_code' => array(
- 'label' => 'Postal Code',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'exclude' => 0,
- 'id' => 'postal_code',
- 'table' => 'location',
- 'field' => 'postal_code',
- 'relationship' => 'none',
- ),
- 'edit_node' => array(
- 'label' => 'Edit',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'text' => '',
- 'exclude' => 0,
- 'id' => 'edit_node',
- 'table' => 'node',
- 'field' => 'edit_node',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('filters', array(
- 'status' => array(
- 'operator' => '=',
- 'value' => '1',
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
- ),
- 'id' => 'status',
- 'table' => 'node',
- 'field' => 'status',
- 'relationship' => 'none',
- ),
- 'type' => array(
- 'operator' => 'in',
- 'value' => array(
- 'individual' => 'individual',
- ),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
- ),
- 'id' => 'type',
- 'table' => 'node',
- 'field' => 'type',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('access', array(
- 'type' => 'none',
- ));
- $handler->override_option('cache', array(
- 'type' => 'none',
- ));
- $handler->override_option('title', 'People');
- $handler->override_option('items_per_page', 50);
- $handler->override_option('use_pager', '1');
- $handler->override_option('style_plugin', 'bulk');
- $handler = $view->new_display('page', 'Page', 'page_1');
- $handler->override_option('header', '<a href="/node/add/individual">Add Individual</a>');
- $handler->override_option('header_format', '1');
- $handler->override_option('header_empty', 0);
- $handler->override_option('path', 'ws/partner-development/people');
- $handler->override_option('menu', array(
- 'type' => 'normal',
- 'title' => 'People',
- 'description' => 'List of all individuals in the CRM',
- 'weight' => '0',
- 'name' => 'menu-venture',
- ));
- $handler->override_option('tab_options', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler = $view->new_display('feed', 'Feed', 'feed_1');
- $handler->override_option('fields', array(
- 'field_contact_first_name_value' => array(
- 'label' => 'First',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- 'label_type' => 'custom',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_first_name_value',
- 'table' => 'node_data_field_contact_first_name',
- 'field' => 'field_contact_first_name_value',
- 'relationship' => 'none',
- ),
- 'field_contact_last_name_value' => array(
- 'label' => 'Last',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'custom',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_last_name_value',
- 'table' => 'node_data_field_contact_last_name',
- 'field' => 'field_contact_last_name_value',
- 'relationship' => 'none',
- ),
- 'field_contact_mobile_phone_number' => array(
- 'label' => 'Mobile Phone',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_mobile_phone_number',
- 'table' => 'node_data_field_contact_mobile_phone',
- 'field' => 'field_contact_mobile_phone_number',
- 'relationship' => 'none',
- ),
- 'field_contact_email_email' => array(
- 'label' => 'Email',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_contact_email_email',
- 'table' => 'node_data_field_contact_email',
- 'field' => 'field_contact_email_email',
- 'relationship' => 'none',
- ),
- 'city' => array(
- 'label' => 'City',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'exclude' => 0,
- 'id' => 'city',
- 'table' => 'location',
- 'field' => 'city',
- 'relationship' => 'none',
- ),
- 'province' => array(
- 'label' => 'State/Province',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'style' => 'name',
- 'exclude' => 0,
- 'id' => 'province',
- 'table' => 'location',
- 'field' => 'province',
- 'relationship' => 'none',
- ),
- 'postal_code' => array(
- 'label' => 'Postal Code',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'exclude' => 0,
- 'id' => 'postal_code',
- 'table' => 'location',
- 'field' => 'postal_code',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('items_per_page', 0);
- $handler->override_option('link_display', 'page_1');
- $handler->override_option('style_plugin', 'views_csv');
- $handler->override_option('style_options', array(
- 'mission_description' => FALSE,
- 'description' => '',
- ));
- $handler->override_option('row_plugin', '');
- $handler->override_option('path', 'ws/partner-development/people/people.csv');
- $handler->override_option('menu', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler->override_option('tab_options', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler->override_option('displays', array(
- 'page_1' => 'page_1',
- 'default' => 0,
- ));
- $handler->override_option('sitename_title', FALSE);
- $handler = $view->new_display('pdf', 'PDF Page', 'pdf_1');
- $handler->override_option('items_per_page', 0);
- $handler->override_option('style_plugin', 'pdf_table');
- $handler->override_option('style_options', array(
- 'mission_description' => FALSE,
- 'description' => '',
- 'info' => array(
- 'field_contact_picture_fid' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'field_contact_first_name_value' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'field_contact_last_name_value' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'field_contact_mobile_phone_number' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'field_contact_email_email' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'city' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'province' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'postal_code' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- 'edit_node' => array(
- 'header_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'body_style' => array(
- 'text' => array(
- 'font_size' => '',
- 'font_family' => 'default',
- 'font_style' => array(
- 'b' => 0,
- 'i' => 0,
- 'u' => 0,
- 'd' => 0,
- 'o' => 0,
- ),
- 'align' => NULL,
- 'hyphenate' => NULL,
- 'color' => '',
- ),
- 'render' => array(
- 'is_html' => 1,
- 'eval_before' => '',
- 'eval_after' => '',
- ),
- ),
- 'position' => array(
- 'width' => '',
- ),
- ),
- ),
- 'position' => array(
- 'last_writing_position' => 1,
- 'x' => '',
- 'y' => '',
- 'width' => '',
- 'row_height' => '',
- ),
- 'grouping' => '',
- ));
- $handler->override_option('row_plugin', 'pdf_fields');
- $handler->override_option('path', 'ws/partner-development/people/people.pdf');
- $handler->override_option('menu', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler->override_option('tab_options', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler->override_option('displays', array(
- 'page_1' => 'page_1',
- 'default' => 0,
- ));
- $handler->override_option('sitename_title', FALSE);
- $handler->override_option('default_page_format', 'LETTER');
- $handler->override_option('default_page_format_custom', '');
- $handler->override_option('default_page_orientation', 'L');
- $handler->override_option('unit', 'mm');
- $handler->override_option('margin_left', '15');
- $handler->override_option('margin_right', '15');
- $handler->override_option('margin_top', '15');
- $handler->override_option('margin_bottom', '15');
- $handler->override_option('leading_template', '');
- $handler->override_option('template', '');
- $handler->override_option('succeed_template', '');
- $handler->override_option('default_font_family', 'helvetica');
- $handler->override_option('default_font_style', array());
- $handler->override_option('default_font_size', '11');
- $handler->override_option('default_text_align', 'L');
- $handler->override_option('default_font_color', '000000');
- $handler->override_option('default_text_hyphenate', 'none');
- $handler->override_option('css_file', '');
- $handler = $view->new_display('page', 'People filter by email', 'page_2');
- $handler->override_option('arguments', array(
- 'field_contact_email_email' => array(
- 'default_action' => 'ignore',
- 'style_plugin' => 'default_summary',
- 'style_options' => array(),
- 'wildcard' => 'all',
- 'wildcard_substitution' => 'All',
- 'title' => '',
- 'breadcrumb' => '',
- 'default_argument_type' => 'fixed',
- 'default_argument' => '',
- 'validate_type' => 'none',
- 'validate_fail' => 'not found',
- 'glossary' => 0,
- 'limit' => '0',
- 'case' => 'none',
- 'path_case' => 'none',
- 'transform_dash' => 0,
- 'id' => 'field_contact_email_email',
- 'table' => 'node_data_field_contact_email',
- 'field' => 'field_contact_email_email',
- 'validate_user_argument_type' => 'uid',
- 'validate_user_roles' => array(
- '2' => 0,
- '3' => 0,
- '15' => 0,
- '10' => 0,
- '6' => 0,
- '17' => 0,
- '16' => 0,
- '14' => 0,
- '12' => 0,
- '13' => 0,
- '11' => 0,
- '9' => 0,
- '5' => 0,
- '4' => 0,
- '7' => 0,
- '8' => 0,
- ),
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
- 'default_options_div_prefix' => '',
- 'default_argument_fixed' => '',
- 'default_argument_user' => 0,
- 'default_argument_php' => '',
- 'validate_argument_node_type' => array(
- 'product' => 0,
- 'child' => 0,
- 'venture_payment' => 0,
- 'venture_deposit' => 0,
- 'event' => 0,
- 'donation' => 0,
- 'program' => 0,
- 'project' => 0,
- 'product_kit' => 0,
- 'airline_itinerary' => 0,
- 'book' => 0,
- 'childfamilymember' => 0,
- 'church' => 0,
- 'education' => 0,
- 'excursion' => 0,
- 'family' => 0,
- 'global_banner_image' => 0,
- 'highlighted_content' => 0,
- 'individual' => 0,
- 'interview' => 0,
- 'location' => 0,
- 'medical_incident' => 0,
- 'news' => 0,
- 'note' => 0,
- 'organization' => 0,
- 'page' => 0,
- 'press_release' => 0,
- 'profile' => 0,
- 'resource' => 0,
- 'school' => 0,
- 'staff_blog' => 0,
- 'start_team_form' => 0,
- 'task' => 0,
- 'team_leader_app' => 0,
- 'vc_evaluation' => 0,
- 'venture_log' => 0,
- 'venture_log_national_coordinator' => 0,
- 'venture_participant_evaluation' => 0,
- 'venture_team' => 0,
- 'venture_team_member' => 0,
- 'webform' => 0,
- ),
- 'validate_argument_node_access' => 0,
- 'validate_argument_nid_type' => 'nid',
- 'validate_argument_vocabulary' => array(
- '2' => 0,
- '4' => 0,
- '3' => 0,
- '1' => 0,
- '7' => 0,
- '6' => 0,
- '5' => 0,
- ),
- 'validate_argument_type' => 'tid',
- 'validate_argument_transform' => 0,
- 'validate_user_restrict_roles' => 0,
- 'validate_argument_node_flag_name' => '*relationship*',
- 'validate_argument_node_flag_test' => 'flaggable',
- 'validate_argument_node_flag_id_type' => 'id',
- 'validate_argument_user_flag_name' => '*relationship*',
- 'validate_argument_user_flag_test' => 'flaggable',
- 'validate_argument_user_flag_id_type' => 'id',
- 'validate_argument_signup_status' => 'any',
- 'validate_argument_signup_node_access' => 0,
- 'validate_argument_php' => '',
- ),
- ));
- $handler->override_option('title', 'People filter by email');
- $handler->override_option('path', 'ws/crm/contact_filter_by_email');
- $handler->override_option('menu', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
- $handler->override_option('tab_options', array(
- 'type' => 'none',
- 'title' => '',
- 'description' => '',
- 'weight' => 0,
- 'name' => 'navigation',
- ));
Add Comment
Please, Sign In to add comment