$view = new view; $view->name = 'view_Gmap'; $view->description = ''; $view->tag = ''; $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', 'gMap', 'default'); $handler->override_option('fields', array( 'field_phone_value' => array( 'label' => 'Phone', 'alter' => array( 'alter_text' => 1, 'text' => '

[field_phone_value]

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 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_phone_value', 'table' => 'node_data_field_phone', 'field' => 'field_phone_value', 'relationship' => 'none', ), 'field_hours_value' => array( 'label' => 'Hours', 'alter' => array( 'alter_text' => 1, 'text' => '

[field_hours_value]

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 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_hours_value', 'table' => 'node_data_field_hours', 'field' => 'field_hours_value', 'relationship' => 'none', ), 'nothing_1' => array( 'label' => 'Location', 'alter' => array( 'text' => '

222 S. 6th. St.

Klamath Falls, OR 97601

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'exclude' => 0, 'id' => 'nothing_1', 'table' => 'views', 'field' => 'nothing', 'relationship' => 'none', ), 'nothing' => array( 'label' => '', 'alter' => array( 'text' => 'View Map', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'exclude' => 1, 'id' => 'nothing', 'table' => 'views', 'field' => 'nothing', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'field_gmap_gmap_macro' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 1, 'id' => 'field_gmap_gmap_macro', 'table' => 'node_data_field_gmap', 'field' => 'field_gmap_gmap_macro', 'relationship' => 'none', ), 'lightbox2' => array( 'label' => 'Lightbox trigger', 'alter' => array( 'link_class' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'trigger_field' => 'nothing', 'popup' => '[field_gmap_gmap_macro]', 'rel_group' => 1, 'height' => '400px', 'width' => '600px', 'exclude' => 0, 'id' => 'lightbox2', 'table' => 'lightbox2', 'field' => 'lightbox2', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'location' => 'location', ), '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('style_options', array( 'grouping' => '', )); $handler->override_option('row_options', array( 'inline' => array(), 'separator' => '', )); $handler = $view->new_display('block', 'Block', 'block_1'); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1);