$view = new view; $view->name = 'top_kites'; $view->description = 'Top rated kites'; $view->tag = 'votingapi'; $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('relationships', array( 'votingapi_cache' => array( 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'relationship' => 'field_kite_r_product_nid', ), )); $handler->override_option('sorts', array( 'value' => array( 'order' => 'ASC', 'id' => 'value', 'table' => 'votingapi_cache', 'field' => 'value', 'relationship' => 'votingapi_cache', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'kite' => 'kite', ), '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('title', 'Top rated kites by dicipline'); $handler->override_option('use_ajax', TRUE); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'title' => 'title', 'value' => 'value', 'field_kite_r_powerdepower_rating_rating' => 'field_kite_r_powerdepower_rating_rating', 'field_kite_r_hangtime_rating_rating' => 'field_kite_r_hangtime_rating_rating', 'field_kite_r_highend_rating_rating' => 'field_kite_r_highend_rating_rating', 'field_kite_r_lift_rating_rating' => 'field_kite_r_lift_rating_rating', 'field_kite_r_powerinstand_rating_rating' => 'field_kite_r_powerinstand_rating_rating', 'field_kite_r_turningspeed_rating_rating' => 'field_kite_r_turningspeed_rating_rating', ), 'info' => array( 'title' => array( 'sortable' => 0, 'separator' => '', ), 'value' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_powerdepower_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_hangtime_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_highend_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_lift_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_powerinstand_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_turningspeed_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => 'title', )); $handler = $view->new_display('page', 'Overall', 'page_2'); $handler->override_option('relationships', array( 'votingapi_cache' => array( 'label' => 'Voting allround', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'allround_rating', 'function' => 'average', ), 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'votingapi_cache_1' => array( 'label' => 'Voting oldskool', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'oldskool_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_1', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_2' => array( 'label' => 'Voting freestyle', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'freestyle_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_2', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_3' => array( 'label' => 'Voting wave', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'wave_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_3', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'field_kite_r_product_nid', ), 'field_kite_r_allround_rating_rating' => array( 'label' => 'Allround', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 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_kite_r_allround_rating_rating', 'table' => 'node_data_field_kite_r_allround_rating', 'field' => 'field_kite_r_allround_rating_rating', 'relationship' => 'none', ), 'field_kite_r_oldskool_rating_rating' => array( 'label' => 'Oldskool', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 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_kite_r_oldskool_rating_rating', 'table' => 'node_data_field_kite_r_oldskool_rating', 'field' => 'field_kite_r_oldskool_rating_rating', 'relationship' => 'none', ), 'field_kite_r_freestyle_rating_rating' => array( 'label' => 'Freestyle', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 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_kite_r_freestyle_rating_rating', 'table' => 'node_data_field_kite_r_freestyle_rating', 'field' => 'field_kite_r_freestyle_rating_rating', 'relationship' => 'none', ), 'field_kite_r_wave_rating_rating' => array( 'label' => 'Wave', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 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_kite_r_wave_rating_rating', 'table' => 'node_data_field_kite_r_wave_rating', 'field' => 'field_kite_r_wave_rating_rating', 'relationship' => 'none', ), )); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'field_kite_image_fid' => 'field_kite_image_fid', 'field_kite_r_allround_rating_rating' => 'field_kite_r_allround_rating_rating', 'field_kite_r_freestyle_rating_rating' => 'field_kite_r_freestyle_rating_rating', 'field_kite_r_oldskool_rating_rating' => 'field_kite_r_oldskool_rating_rating', 'field_kite_r_wave_rating_rating' => 'field_kite_r_wave_rating_rating', ), 'info' => array( 'field_kite_image_fid' => array( 'separator' => '', ), 'field_kite_r_allround_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_freestyle_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_oldskool_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_wave_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => 'field_kite_r_allround_rating_rating', )); $handler->override_option('path', 'topkites/all'); $handler->override_option('menu', array( 'type' => 'default tab', 'title' => 'Overall', 'description' => '', 'weight' => '0', 'name' => 'primary-links', )); $handler->override_option('tab_options', array( 'type' => 'normal', 'title' => 'Top Kites', 'description' => '', 'weight' => '0', )); $handler = $view->new_display('page', 'Allround', 'page_1'); $handler->override_option('relationships', array( 'votingapi_cache' => array( 'label' => 'Voting windrange', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'windrange_rating', 'function' => 'average', ), 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_1' => array( 'label' => 'Voting Relaunch', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'relaunch_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_1', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_2' => array( 'label' => 'Voting Stability', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'stability_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_2', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_3' => array( 'label' => 'Voting powerdevelopment', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'powerdevelopment_ra', 'function' => 'average', ), 'id' => 'votingapi_cache_3', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_4' => array( 'label' => 'Voting kitecontrol', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'kitecontrol_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_4', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'field_kite_r_product_nid', ), 'field_kite_r_windrange_rating_rating' => array( 'label' => 'Windrange', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', '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_kite_r_windrange_rating_rating', 'table' => 'node_data_field_kite_r_windrange_rating', 'field' => 'field_kite_r_windrange_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_relaunch_rating_rating' => array( 'label' => 'Relaunch', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', '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_kite_r_relaunch_rating_rating', 'table' => 'node_data_field_kite_r_relaunch_rating', 'field' => 'field_kite_r_relaunch_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_stability_rating_rating' => array( 'label' => 'Stability', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', '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_kite_r_stability_rating_rating', 'table' => 'node_data_field_kite_r_stability_rating', 'field' => 'field_kite_r_stability_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_powerdevelopment_ra_rating' => array( 'label' => 'Power development', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', '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_kite_r_powerdevelopment_ra_rating', 'table' => 'node_data_field_kite_r_powerdevelopment_ra', 'field' => 'field_kite_r_powerdevelopment_ra_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_kitecontrol_rating_rating' => array( 'label' => 'Kite control', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', '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_kite_r_kitecontrol_rating_rating', 'table' => 'node_data_field_kite_r_kitecontrol_rating', 'field' => 'field_kite_r_kitecontrol_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Top rated allround kites'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'field_kite_image_fid' => 'field_kite_image_fid', 'field_kite_r_kitehandling_rating_rating' => 'field_kite_r_kitehandling_rating_rating', 'field_kite_r_powerdevelopment_rating' => 'field_kite_r_powerdevelopment_rating', 'field_kite_r_relaunch_rating' => 'field_kite_r_relaunch_rating', 'field_kite_r_stability_rating' => 'field_kite_r_stability_rating', 'field_kite_r_windrange_rating' => 'field_kite_r_windrange_rating', 'field_kite_r_allround_rating_rating' => 'field_kite_r_allround_rating_rating', ), 'info' => array( 'field_kite_image_fid' => array( 'separator' => '', ), 'field_kite_r_kitehandling_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_powerdevelopment_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_relaunch_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_stability_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_windrange_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_allround_rating_rating' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'field_kite_r_allround_rating_rating', )); $handler->override_option('path', 'topkites/allround'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Allround', 'description' => '', 'weight' => '1', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, )); $handler = $view->new_display('page', 'Oldskool', 'page_3'); $handler->override_option('relationships', array( 'votingapi_cache' => array( 'label' => 'Voting lift', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'lift_rating', 'function' => 'average', ), 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_1' => array( 'label' => 'Voting hangtime', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'hangtime_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_1', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_2' => array( 'label' => 'Voting powerinstand', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'powerinstand_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_2', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_3' => array( 'label' => 'Voting powerdepower', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'powerdepower_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_3', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_4' => array( 'label' => 'Voting turningspeed', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'turningspeed_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_4', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_5' => array( 'label' => 'Voting highend', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'highend_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_5', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'field_kite_r_product_nid', ), 'field_kite_r_lift_rating_rating' => array( 'label' => 'Lift', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_lift_rating_rating', 'table' => 'node_data_field_kite_r_lift_rating', 'field' => 'field_kite_r_lift_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_hangtime_rating_rating' => array( 'label' => 'Hangtime', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_hangtime_rating_rating', 'table' => 'node_data_field_kite_r_hangtime_rating', 'field' => 'field_kite_r_hangtime_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_powerinstand_rating_rating' => array( 'label' => 'Power in Stand', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_powerinstand_rating_rating', 'table' => 'node_data_field_kite_r_powerinstand_rating', 'field' => 'field_kite_r_powerinstand_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_powerdepower_rating_rating' => array( 'label' => 'Effect power/depower', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_powerdepower_rating_rating', 'table' => 'node_data_field_kite_r_powerdepower_rating', 'field' => 'field_kite_r_powerdepower_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_w_tspeed_rating_rating' => array( 'label' => 'Turning speed', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_w_tspeed_rating_rating', 'table' => 'node_data_field_kite_r_w_tspeed_rating', 'field' => 'field_kite_r_w_tspeed_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_highend_rating_rating' => array( 'label' => 'High End', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_highend_rating_rating', 'table' => 'node_data_field_kite_r_highend_rating', 'field' => 'field_kite_r_highend_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Top rated oldskool kites'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'field_kite_image_fid' => 'field_kite_image_fid', 'field_kite_r_powerdepower_rating_rating' => 'field_kite_r_powerdepower_rating_rating', 'field_kite_r_hangtime_rating_rating' => 'field_kite_r_hangtime_rating_rating', 'field_kite_r_highend_rating_rating' => 'field_kite_r_highend_rating_rating', 'field_kite_r_lift_rating_rating' => 'field_kite_r_lift_rating_rating', 'field_kite_r_powerinstand_rating_rating' => 'field_kite_r_powerinstand_rating_rating', 'field_kite_r_w_tspeed_rating_rating' => 'field_kite_r_w_tspeed_rating_rating', 'field_kite_r_oldskool_rating_rating' => 'field_kite_r_oldskool_rating_rating', ), 'info' => array( 'field_kite_image_fid' => array( 'separator' => '', ), 'field_kite_r_powerdepower_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_hangtime_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_highend_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_lift_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_powerinstand_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_w_tspeed_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_oldskool_rating_rating' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'field_kite_r_oldskool_rating_rating', )); $handler->override_option('path', 'topkites/oldskool'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Oldskool', 'description' => '', 'weight' => '2', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, )); $handler = $view->new_display('page', 'Freestyle', 'page_4'); $handler->override_option('relationships', array( 'votingapi_cache' => array( 'label' => 'Voting pop', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'pop_rating', 'function' => 'average', ), 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_1' => array( 'label' => 'Voting boost', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'boost_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_1', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_2' => array( 'label' => 'Voting barpressure', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'barpressure_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_2', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_3' => array( 'label' => 'Voting kitehandling', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'kitehandling_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_3', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_4' => array( 'label' => 'Voting unhooked', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'unhooked_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_4', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'field_kite_r_product_nid', ), 'field_kite_r_pop_rating_rating' => array( 'label' => 'Pop', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_pop_rating_rating', 'table' => 'node_data_field_kite_r_pop_rating', 'field' => 'field_kite_r_pop_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_boost_rating_rating' => array( 'label' => 'Boost', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_boost_rating_rating', 'table' => 'node_data_field_kite_r_boost_rating', 'field' => 'field_kite_r_boost_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_barpressure_rating_rating' => array( 'label' => 'Bar Pressure', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_barpressure_rating_rating', 'table' => 'node_data_field_kite_r_barpressure_rating', 'field' => 'field_kite_r_barpressure_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_kitehandling_rating_rating' => array( 'label' => 'Kite Handling', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_kitehandling_rating_rating', 'table' => 'node_data_field_kite_r_kitehandling_rating', 'field' => 'field_kite_r_kitehandling_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_unhooked_rating_rating' => array( 'label' => 'Unhooked', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_unhooked_rating_rating', 'table' => 'node_data_field_kite_r_unhooked_rating', 'field' => 'field_kite_r_unhooked_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Top rated freestyle kites'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'field_kite_image_fid' => 'field_kite_image_fid', 'field_kite_r_barpressure_rating_rating' => 'field_kite_r_barpressure_rating_rating', 'field_kite_r_boost_rating_rating' => 'field_kite_r_boost_rating_rating', 'field_kite_r_kitehandling_rating_rating' => 'field_kite_r_kitehandling_rating_rating', 'field_kite_r_pop_rating_rating' => 'field_kite_r_pop_rating_rating', 'field_kite_r_unhooked_rating_rating' => 'field_kite_r_unhooked_rating_rating', 'field_kite_r_freestyle_rating_rating' => 'field_kite_r_freestyle_rating_rating', ), 'info' => array( 'field_kite_image_fid' => array( 'separator' => '', ), 'field_kite_r_barpressure_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_boost_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_kitehandling_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_pop_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_unhooked_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_freestyle_rating_rating' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'field_kite_r_freestyle_rating_rating', )); $handler->override_option('path', 'topkites/freestyle'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Freestyle', 'description' => '', 'weight' => '3', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, )); $handler = $view->new_display('page', 'Wave', 'page_5'); $handler->override_option('relationships', array( 'votingapi_cache' => array( 'label' => 'Voting turningspeed', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'turningspeed_rating', 'function' => 'average', ), 'id' => 'votingapi_cache', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_1' => array( 'label' => 'Voting depower', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'depower_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_1', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_2' => array( 'label' => 'Voting edgestability', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'edgestab_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_2', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'votingapi_cache_3' => array( 'label' => 'Voting lowend', 'required' => 1, 'votingapi' => array( 'value_type' => 'percent', 'tag' => 'lowend_rating', 'function' => 'average', ), 'id' => 'votingapi_cache_3', 'table' => 'node', 'field' => 'votingapi_cache', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'field_image_fid' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, ), 'link_to_node' => 1, 'label_type' => 'none', 'format' => 'dock_default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_image_fid', 'table' => 'node_data_field_image', 'field' => 'field_image_fid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'field_kite_r_product_nid', ), 'field_kite_r_w_tspeed_rating_rating' => array( 'label' => 'Turning speed', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_w_tspeed_rating_rating', 'table' => 'node_data_field_kite_r_w_tspeed_rating', 'field' => 'field_kite_r_w_tspeed_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_depower_rating_rating' => array( 'label' => 'Depower', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_depower_rating_rating', 'table' => 'node_data_field_kite_r_depower_rating', 'field' => 'field_kite_r_depower_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_edgestab_rating_rating' => array( 'label' => 'Edge stability', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_edgestab_rating_rating', 'table' => 'node_data_field_kite_r_edgestab_rating', 'field' => 'field_kite_r_edgestab_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_kite_r_lowend_rating_rating' => array( 'label' => 'Low-end', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_kite_r_lowend_rating_rating', 'table' => 'node_data_field_kite_r_lowend_rating', 'field' => 'field_kite_r_lowend_rating_rating', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Top rated wave kites'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'desc', 'columns' => array( 'field_kite_image_fid' => 'field_kite_image_fid', 'field_kite_r_depower_rating_rating' => 'field_kite_r_depower_rating_rating', 'field_kite_r_edgestab_rating_rating' => 'field_kite_r_edgestab_rating_rating', 'field_kite_r_lowend_rating_rating' => 'field_kite_r_lowend_rating_rating', 'field_kite_r_w_tspeed_rating_rating' => 'field_kite_r_w_tspeed_rating_rating', 'field_kite_r_wave_rating_rating' => 'field_kite_r_wave_rating_rating', ), 'info' => array( 'field_kite_image_fid' => array( 'separator' => '', ), 'field_kite_r_depower_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_edgestab_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_lowend_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_w_tspeed_rating_rating' => array( 'sortable' => 1, 'separator' => '', ), 'field_kite_r_wave_rating_rating' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'field_kite_r_wave_rating_rating', )); $handler->override_option('path', 'topkites/wave'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Wave', 'description' => '', 'weight' => '4', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, ));