Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moved a lot of overrides into cod_session.

  • Loading branch information...
commit 8677fa73ef310ed6d3fee724cde807002997edf8 1 parent ce6c0b3
@FatherShawn FatherShawn authored
View
4 profiles/cod/modules/contrib/cod_support/cod_session/cod_session.context.inc
@@ -15,7 +15,9 @@ function cod_session_context_default_contexts() {
$context->conditions = array(
'path' => array(
'values' => array(
- 'program*' => 'program*',
+ 'program/sessions' => 'program/sessions',
+ 'program/community-spotlights' => 'program/community-spotlights',
+ 'program/sessions/accepted*' => 'program/sessions/accepted*',
),
),
);
View
3  profiles/cod/modules/contrib/cod_support/cod_session/cod_session.features.content.inc
@@ -877,7 +877,8 @@ advanced|Advanced',
development|Development
front_end|Presentation
business|Business & end users
-sysadmin|Sysadmin & performance',
+sysadmin|Sysadmin & performance
+case_study|Case study',
'allowed_values_php' => '',
'widget' => array(
'default_value' => array(
View
14 profiles/cod/modules/contrib/cod_support/cod_session/cod_session.features.inc
@@ -39,14 +39,16 @@ function cod_session_flag_default_flags() {
'link_type' => 'toggle',
'roles' => array(
'flag' => array(
- '0' => 2,
+ '0' => 3,
+ ),
+ 'unflag' => array(
+ '0' => 3,
),
- 'unflag' => array(),
),
'show_on_page' => 1,
'show_on_teaser' => 1,
'show_on_form' => 0,
- 'access_author' => '',
+ 'access_author' => 'own',
'i18n' => 0,
'module' => 'cod_session',
'locked' => array(
@@ -104,13 +106,13 @@ function cod_session_flag_default_flags() {
'link_type' => 'toggle',
'roles' => array(
'flag' => array(
- '0' => 3,
+ '0' => 11,
),
'unflag' => array(
- '0' => 3,
+ '0' => 11,
),
),
- 'show_on_page' => 1,
+ 'show_on_page' => 0,
'show_on_teaser' => 0,
'show_on_form' => 0,
'access_author' => '',
View
2  profiles/cod/modules/contrib/cod_support/cod_session/cod_session.features.menu_links.inc
@@ -68,7 +68,7 @@ function cod_session_menu_default_menu_links() {
),
),
'module' => 'system',
- 'hidden' => '0',
+ 'hidden' => '1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
View
3  profiles/cod/modules/contrib/cod_support/cod_session/cod_session.features.user_permission.inc
@@ -30,8 +30,7 @@ function cod_session_user_default_permissions() {
$permissions['create session content'] = array(
'name' => 'create session content',
'roles' => array(
- '0' => 'attendee',
- '1' => 'site administrator',
+ '0' => 'site administrator',
),
);
View
30 profiles/cod/modules/contrib/cod_support/cod_session/cod_session.strongarm.inc
@@ -507,30 +507,36 @@ Conference organizing team';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'views_send_message_sessions_admin_contact:page_2';
- $strongarm->value = 'Thank you for proposing the session session, "[views-send-node_title]".
+ $strongarm->value = 'Dear [views-send-users_node_data_field_speakers_profile_values_profile_first_value],
-We are happy to inform you that your session has been accepted for the conference.
+Congratulations! Your session, [views-send-node_title] , has been accepted for the upcoming DrupalCampNYC 10!
-Please confirm that you are able to present this session at the scheduled date and time by visiting [site-url]user .
+We are still finalizing the content schedule, but you will be able to see your assigned time and room on the site very soon.
-Thanks!
+Thank you very much for contributing your session for this event. We are very excited with the quality of content for this camp, and look forward to seeing you on December 10th!
-Conference organizing team';
+Stay Drupally,
+The DrupalCampNYC 10 Organizing Team';
$export['views_send_message_sessions_admin_contact:page_2'] = $strongarm;
$strongarm = new stdClass;
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'views_send_message_sessions_admin_contact:page_3';
- $strongarm->value = 'Hello [views-send-users_node_data_field_speakers_profile_values_profile_first_value],
+ $strongarm->value = 'Dear [views-send-users_node_data_field_speakers_profile_values_profile_first_value],
-Thank you for proposing the session session, "[views-send-node_title]".
+Thank you so much for suggesting your session, [views-send-node_title], for DrupalCampNYC 10. Unfortunately, we were unable to provide this session a time slot for this camp.
-Unfortunately, we are unable to offer you a spot to present at the conference. We thank you for your submission and hope that you\'ll submit a proposal in the future.
+We were truly blown away by the caliber of content ideas submitted this year, and regret that we were unable to accommodate them all. The degree of expertise and innovation demonstrated by these submissions was impressive and very exciting to see.
-Thanks,
+While your session was not selected for this camp, we would encourage you to consider bringing your insights to an upcoming meetup. If you are not familiar with the NYC Drupal meetups, they are well-attended monthly events where NYC Drupallers gather to talk Drupal and share insights in formats ranging from 5-minute lightning rounds to 20-minute presentations. All are welcome to attend and speak.
-Conference organizing team';
+Be sure to check out the group page and join if you are not already a member: http://groups.drupal.org/nyc
+
+Looking forward to seeing you December 10th!
+
+Stay Drupally,
+The DrupalCampNYC 10 Organizing Team';
$export['views_send_message_sessions_admin_contact:page_3'] = $strongarm;
$strongarm = new stdClass;
@@ -616,14 +622,14 @@ Conference organizing team';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'views_send_subject_sessions_admin_contact:page_2';
- $strongarm->value = 'Presenter confirmation';
+ $strongarm->value = 'DCNYC10: Session [views-send-node_title] accepted!';
$export['views_send_subject_sessions_admin_contact:page_2'] = $strongarm;
$strongarm = new stdClass;
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'views_send_subject_sessions_admin_contact:page_3';
- $strongarm->value = 'Your session submission';
+ $strongarm->value = 'DCNYC10: Your session [views-send-node_title]';
$export['views_send_subject_sessions_admin_contact:page_3'] = $strongarm;
$strongarm = new stdClass;
View
873 profiles/cod/modules/contrib/cod_support/cod_session/cod_session.views_default.inc
@@ -2339,7 +2339,7 @@ function cod_session_views_default_views() {
$handler->override_option('title', 'Proposed Sessions');
$handler->override_option('path', 'program/sessions/proposed');
$handler->override_option('menu', array(
- 'type' => 'tab',
+ 'type' => 'none',
'title' => 'Proposed sessions',
'description' => '',
'weight' => '10',
@@ -2432,7 +2432,38 @@ function cod_session_views_default_views() {
$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(
+ 'flag_count_rel' => array(
+ 'label' => 'Votes',
+ 'required' => 0,
+ 'flag' => 'session_vote',
+ 'id' => 'flag_count_rel',
+ 'table' => 'node',
+ 'field' => 'flag_count_rel',
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ 'relationship' => 'none',
+ ),
+ 'flag_count_rel_1' => array(
+ 'label' => 'Org votes',
+ 'required' => 0,
+ 'flag' => 'session_admin_vote',
+ 'id' => 'flag_count_rel_1',
+ 'table' => 'node',
+ 'field' => 'flag_count_rel',
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ 'relationship' => 'none',
+ ),
+ ));
$handler->override_option('fields', array(
+ 'counter' => array(
+ 'id' => 'counter',
+ 'table' => 'views',
+ 'field' => 'counter',
+ ),
'title' => array(
'label' => 'Title',
'alter' => array(
@@ -2663,6 +2694,49 @@ function cod_session_views_default_views() {
),
'relationship' => 'none',
),
+ 'count' => array(
+ 'label' => 'Votes',
+ 'alter' => array(
+ 'alter_text' => 0,
+ 'text' => '',
+ 'make_link' => 0,
+ 'path' => '',
+ 'absolute' => 0,
+ 'link_class' => '',
+ 'alt' => '',
+ 'rel' => '',
+ '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,
+ 'set_precision' => FALSE,
+ 'precision' => 0,
+ 'decimal' => '.',
+ 'separator' => ',',
+ 'format_plural' => 0,
+ 'format_plural_singular' => '1',
+ 'format_plural_plural' => '@count',
+ 'prefix' => '',
+ 'suffix' => '',
+ 'exclude' => 0,
+ 'id' => 'count',
+ 'table' => 'flag_counts',
+ 'field' => 'count',
+ 'relationship' => 'flag_count_rel',
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ ),
));
$handler->override_option('filters', array(
'type' => array(
@@ -2707,7 +2781,7 @@ function cod_session_views_default_views() {
'label' => 'Track',
'optional' => 1,
'single' => 0,
- 'remember' => 0,
+ 'remember' => 1,
'reduce' => 0,
),
'id' => 'field_track_value_many_to_one',
@@ -2813,12 +2887,13 @@ function cod_session_views_default_views() {
$handler->override_option('use_pager', '1');
$handler->override_option('link_display', 'page_1');
$handler->override_option('distinct', 1);
- $handler->override_option('style_plugin', 'table');
+ $handler->override_option('style_plugin', 'bulk');
$handler->override_option('style_options', array(
'grouping' => '',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
+ 'summary' => '',
'columns' => array(
'title' => 'title',
'field_accepted_value' => 'field_accepted_value',
@@ -2829,22 +2904,22 @@ function cod_session_views_default_views() {
),
'info' => array(
'title' => array(
- 'sortable' => 1,
+ 'sortable' => 0,
'separator' => '',
),
'field_accepted_value' => array(
- 'sortable' => 1,
+ 'sortable' => 0,
'separator' => '',
),
'field_speakers_uid' => array(
'separator' => '',
),
'field_experience_value' => array(
- 'sortable' => 1,
+ 'sortable' => 0,
'separator' => '',
),
'field_track_value' => array(
- 'sortable' => 1,
+ 'sortable' => 0,
'separator' => '',
),
'edit_node' => array(
@@ -2852,139 +2927,346 @@ function cod_session_views_default_views() {
),
),
'default' => '-1',
- ));
- $handler->override_option('row_options', array(
- 'inline' => array(
- 'field_speakers_uid' => 'field_speakers_uid',
- ),
- 'separator' => ', ',
- 'hide_empty' => 0,
- ));
- $handler = $view->new_display('page', 'Accepted sessions', 'page_1');
- $handler->override_option('sorts', array(
- 'title' => array(
- 'order' => 'ASC',
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('filters', array(
- 'type' => array(
- 'operator' => 'in',
- 'value' => array(
- 'session' => 'session',
+ 'execution_type' => '1',
+ 'max_performance' => 0,
+ 'display_type' => '1',
+ 'hide_selector' => 0,
+ 'preserve_selection' => 1,
+ 'display_result' => 1,
+ 'merge_single_action' => 1,
+ 'operations' => array(
+ 'flag_nodes-1980f2a3af0b5c3577850d4ba2600405' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
+ 'flag_nodes-65d3c82531aa7bd219cfda707fc86182' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
'label' => '',
),
- 'id' => 'type',
- 'table' => 'node',
- 'field' => 'type',
- 'relationship' => 'none',
- ),
- 'field_track_value_many_to_one' => array(
- 'operator' => 'or',
- 'value' => array(),
- 'group' => '0',
- 'exposed' => TRUE,
- 'expose' => array(
- 'use_operator' => 0,
- 'operator' => 'field_track_value_many_to_one_op',
- 'identifier' => 'field_track_value_many_to_one',
- 'label' => 'Track',
- 'optional' => 1,
- 'single' => 0,
- 'remember' => 0,
- 'reduce' => 0,
+ 'node_assign_owner_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'id' => 'field_track_value_many_to_one',
- 'table' => 'node_data_field_track',
- 'field' => 'field_track_value_many_to_one',
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
- 'override' => array(
- 'button' => 'Override',
+ 'views_bulk_operations_delete_node_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- ),
- 'keys' => array(
- 'operator' => 'optional',
- 'value' => '',
- 'group' => '0',
- 'exposed' => TRUE,
- 'expose' => array(
- 'use_operator' => 0,
- 'operator' => 'keys_op',
- 'identifier' => 'keys',
- 'label' => 'Filter by keywords:',
- 'optional' => 1,
- 'remember' => 0,
+ 'node_mass_update-a27b9efabcd054685a549378b174ad11' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'id' => 'keys',
- 'table' => 'search_index',
- 'field' => 'keys',
- 'override' => array(
- 'button' => 'Override',
+ 'system_message_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'relationship' => 'none',
- ),
- 'field_accepted_value_many_to_one' => array(
- 'operator' => 'or',
- 'value' => array(
- 1 => '1',
+ 'views_bulk_operations_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => 'field_accepted_value_many_to_one_op',
- 'label' => 'by status:',
- 'use_operator' => 0,
- 'identifier' => 'status',
- 'optional' => 1,
- 'single' => 1,
- 'remember' => 0,
- 'reduce' => 1,
+ 'views_bulk_operations_script_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'id' => 'field_accepted_value_many_to_one',
- 'table' => 'node_data_field_accepted',
- 'field' => 'field_accepted_value_many_to_one',
- 'override' => array(
- 'button' => 'Override',
+ 'flag_nodes-aa4891376f34d2c56266ae31f7642e78' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
- ),
- 'field_experience_value_many_to_one' => array(
- 'operator' => 'or',
- 'value' => array(),
- 'group' => '0',
- 'exposed' => TRUE,
- 'expose' => array(
- 'use_operator' => 0,
- 'operator' => '',
- 'identifier' => 'experience_level',
- 'label' => 'Experience level',
- 'optional' => 1,
- 'single' => 0,
- 'remember' => 1,
- 'reduce' => 0,
+ 'imagecache_flush_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- 'id' => 'field_experience_value_many_to_one',
- 'table' => 'node_data_field_experience',
- 'field' => 'field_experience_value_many_to_one',
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
- 'override' => array(
- 'button' => 'Override',
+ 'imagecache_generate_all_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
),
- ),
+ 'imagecache_generate_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_make_sticky_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_make_unsticky_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-c4d3b28efb86fd703619a50b74d43794' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_fields_action' => array(
+ 'selected' => 1,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ 'settings' => array(
+ 'php_code' => 0,
+ 'show_tokens' => 0,
+ 'display_fields' => array(
+ 'field_accepted' => 'field_accepted',
+ ),
+ '_error_element_base' => 'style_options][operations][views_bulk_operations_fields_action][settings][',
+ ),
+ ),
+ 'views_bulk_operations_taxonomy_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-b811bdcc58993dfee224855680639721' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_argument_selector_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_promote_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-14de7d028b4bffdf2b4a266562ca18ac' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-9c585624b9b3af0b4687d5f97f35e047' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_publish_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'system_goto_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-4430845052b334550777d4f68f3ad4b1' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpromote_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-8ce21b08bb8e773d10018b484fe4815e' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-239577173a2877b8739df0bcb9471d0f' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_save_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'system_send_email_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_send_mail_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-76e4c513dfadc798e2eb84ad0a677401' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-0ccad85c1ebe4c9ceada1aa64293b080' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpublish_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpublish_by_keyword_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'auto_nodetitle_operations_update' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'pathauto_node_update_alias_multiple-620e193b20ba9caa374fea9ca0ad38f0' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-26a2244bc5178ba475d6c829fd45c29e' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ ),
+ ));
+ $handler->override_option('row_options', array(
+ 'inline' => array(
+ 'field_speakers_uid' => 'field_speakers_uid',
+ ),
+ 'separator' => ', ',
+ 'hide_empty' => 0,
+ ));
+ $handler = $view->new_display('page', 'Accepted sessions', 'page_1');
+ $handler->override_option('sorts', array(
+ 'title' => array(
+ 'order' => 'ASC',
+ 'id' => 'title',
+ 'table' => 'node',
+ 'field' => 'title',
+ 'override' => array(
+ 'button' => 'Use default',
+ ),
+ 'relationship' => 'none',
+ ),
+ ));
+ $handler->override_option('filters', array(
+ 'type' => array(
+ 'operator' => 'in',
+ 'value' => array(
+ 'session' => 'session',
+ ),
+ 'group' => '0',
+ 'exposed' => FALSE,
+ 'expose' => array(
+ 'operator' => FALSE,
+ 'label' => '',
+ ),
+ 'id' => 'type',
+ 'table' => 'node',
+ 'field' => 'type',
+ 'relationship' => 'none',
+ ),
+ 'field_track_value_many_to_one' => array(
+ 'operator' => 'or',
+ 'value' => array(),
+ 'group' => '0',
+ 'exposed' => TRUE,
+ 'expose' => array(
+ 'use_operator' => 0,
+ 'operator' => 'field_track_value_many_to_one_op',
+ 'identifier' => 'field_track_value_many_to_one',
+ 'label' => 'Track',
+ 'optional' => 1,
+ 'single' => 0,
+ 'remember' => 0,
+ 'reduce' => 0,
+ ),
+ 'id' => 'field_track_value_many_to_one',
+ 'table' => 'node_data_field_track',
+ 'field' => 'field_track_value_many_to_one',
+ 'relationship' => 'none',
+ 'reduce_duplicates' => 0,
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ ),
+ 'keys' => array(
+ 'operator' => 'optional',
+ 'value' => '',
+ 'group' => '0',
+ 'exposed' => TRUE,
+ 'expose' => array(
+ 'use_operator' => 0,
+ 'operator' => 'keys_op',
+ 'identifier' => 'keys',
+ 'label' => 'Filter by keywords:',
+ 'optional' => 1,
+ 'remember' => 0,
+ ),
+ 'id' => 'keys',
+ 'table' => 'search_index',
+ 'field' => 'keys',
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ 'relationship' => 'none',
+ ),
+ 'field_accepted_value_many_to_one' => array(
+ 'operator' => 'or',
+ 'value' => array(
+ 1 => '1',
+ ),
+ 'group' => '0',
+ 'exposed' => FALSE,
+ 'expose' => array(
+ 'operator' => 'field_accepted_value_many_to_one_op',
+ 'label' => 'by status:',
+ 'use_operator' => 0,
+ 'identifier' => 'status',
+ 'optional' => 1,
+ 'single' => 1,
+ 'remember' => 0,
+ 'reduce' => 1,
+ ),
+ 'id' => 'field_accepted_value_many_to_one',
+ 'table' => 'node_data_field_accepted',
+ 'field' => 'field_accepted_value_many_to_one',
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ 'relationship' => 'none',
+ 'reduce_duplicates' => 0,
+ ),
+ 'field_experience_value_many_to_one' => array(
+ 'operator' => 'or',
+ 'value' => array(),
+ 'group' => '0',
+ 'exposed' => TRUE,
+ 'expose' => array(
+ 'use_operator' => 0,
+ 'operator' => '',
+ 'identifier' => 'experience_level',
+ 'label' => 'Experience level',
+ 'optional' => 1,
+ 'single' => 0,
+ 'remember' => 1,
+ 'reduce' => 0,
+ ),
+ 'id' => 'field_experience_value_many_to_one',
+ 'table' => 'node_data_field_experience',
+ 'field' => 'field_experience_value_many_to_one',
+ 'relationship' => 'none',
+ 'reduce_duplicates' => 0,
+ 'override' => array(
+ 'button' => 'Override',
+ ),
+ ),
'field_session_room_nid' => array(
'operator' => 'empty',
'value' => array(),
@@ -3025,6 +3307,53 @@ function cod_session_views_default_views() {
$handler->override_option('title', 'Accepted sessions');
$handler->override_option('header', 'Note: Only unscheduled sessions (that are accepted and published) are displayed here.');
$handler->override_option('header_empty', 1);
+ $handler->override_option('items_per_page', 0);
+ $handler->override_option('use_pager', '0');
+ $handler->override_option('style_plugin', 'table');
+ $handler->override_option('style_options', array(
+ 'grouping' => '',
+ 'override' => 1,
+ 'sticky' => 0,
+ 'order' => 'asc',
+ 'summary' => '',
+ 'columns' => array(
+ 'counter' => 'counter',
+ 'title' => 'title',
+ 'field_accepted_value' => 'field_accepted_value',
+ 'field_speakers_uid' => 'field_speakers_uid',
+ 'field_experience_value' => 'field_experience_value',
+ 'field_track_value' => 'field_track_value',
+ 'edit_node' => 'edit_node',
+ ),
+ 'info' => array(
+ 'counter' => array(
+ 'separator' => '',
+ ),
+ 'title' => array(
+ 'sortable' => 1,
+ 'separator' => '',
+ ),
+ 'field_accepted_value' => array(
+ 'sortable' => 1,
+ 'separator' => '',
+ ),
+ 'field_speakers_uid' => array(
+ 'separator' => '',
+ ),
+ 'field_experience_value' => array(
+ 'sortable' => 1,
+ 'separator' => '',
+ ),
+ 'field_track_value' => array(
+ 'sortable' => 1,
+ 'separator' => '',
+ ),
+ 'edit_node' => array(
+ 'separator' => '',
+ ),
+ ),
+ 'default' => 'field_track_value',
+ ));
$handler->override_option('path', 'conference-admin/sessions/accepted');
$handler->override_option('menu', array(
'type' => 'tab',
@@ -3185,8 +3514,25 @@ function cod_session_views_default_views() {
),
'relationship' => 'none',
),
- ));
- $handler->override_option('fields', array(
+ 'flag_count_rel_1' => array(
+ 'label' => 'Organizer votes',
+ 'required' => 0,
+ 'flag' => 'session_admin_vote',
+ 'id' => 'flag_count_rel_1',
+ 'table' => 'node',
+ 'field' => 'flag_count_rel',
+ 'override' => array(
+ 'button' => 'Use default',
+ ),
+ 'relationship' => 'none',
+ ),
+ ));
+ $handler->override_option('fields', array(
+ 'counter' => array(
+ 'id' => 'counter',
+ 'table' => 'views',
+ 'field' => 'counter',
+ ),
'title' => array(
'label' => 'Title',
'alter' => array(
@@ -3299,7 +3645,50 @@ function cod_session_views_default_views() {
'id' => 'count',
'table' => 'flag_counts',
'field' => 'count',
- 'relationship' => 'none',
+ 'relationship' => 'flag_count_rel',
+ 'override' => array(
+ 'button' => 'Use default',
+ ),
+ ),
+ 'count_1' => array(
+ 'label' => 'Org votes',
+ 'alter' => array(
+ 'alter_text' => 0,
+ 'text' => '',
+ 'make_link' => 0,
+ 'path' => '',
+ 'absolute' => 0,
+ 'link_class' => '',
+ 'alt' => '',
+ 'rel' => '',
+ '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,
+ 'set_precision' => FALSE,
+ 'precision' => 0,
+ 'decimal' => '.',
+ 'separator' => ',',
+ 'format_plural' => 0,
+ 'format_plural_singular' => '1',
+ 'format_plural_plural' => '@count',
+ 'prefix' => '',
+ 'suffix' => '',
+ 'exclude' => 0,
+ 'id' => 'count_1',
+ 'table' => 'flag_counts',
+ 'field' => 'count',
+ 'relationship' => 'flag_count_rel_1',
'override' => array(
'button' => 'Use default',
),
@@ -3490,7 +3879,7 @@ function cod_session_views_default_views() {
'label' => 'Track',
'optional' => 1,
'single' => 0,
- 'remember' => 0,
+ 'remember' => 1,
'reduce' => 0,
),
'id' => 'field_track_value_many_to_one',
@@ -3499,7 +3888,7 @@ function cod_session_views_default_views() {
'relationship' => 'none',
'reduce_duplicates' => 0,
'override' => array(
- 'button' => 'Override',
+ 'button' => 'Use default',
),
),
'keys' => array(
@@ -3580,18 +3969,23 @@ function cod_session_views_default_views() {
'grouping' => '',
'override' => 1,
'sticky' => 0,
- 'order' => 'desc',
+ 'order' => 'asc',
'summary' => '',
'columns' => array(
+ 'counter' => 'counter',
'title' => 'title',
'field_accepted_value' => 'field_accepted_value',
'count' => 'count',
+ 'count_1' => 'count_1',
'field_speakers_uid' => 'field_speakers_uid',
'field_experience_value' => 'field_experience_value',
'field_track_value' => 'field_track_value',
'edit_node' => 'edit_node',
),
'info' => array(
+ 'counter' => array(
+ 'separator' => '',
+ ),
'title' => array(
'sortable' => 1,
'separator' => '',
@@ -3604,6 +3998,10 @@ function cod_session_views_default_views() {
'sortable' => 1,
'separator' => '',
),
+ 'count_1' => array(
+ 'sortable' => 1,
+ 'separator' => '',
+ ),
'field_speakers_uid' => array(
'separator' => '',
),
@@ -3620,6 +4018,213 @@ function cod_session_views_default_views() {
),
),
'default' => 'count',
+ 'execution_type' => '1',
+ 'max_performance' => 0,
+ 'display_type' => '1',
+ 'hide_selector' => 0,
+ 'preserve_selection' => 1,
+ 'display_result' => 1,
+ 'merge_single_action' => 1,
+ 'operations' => array(
+ 'flag_nodes-1980f2a3af0b5c3577850d4ba2600405' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-65d3c82531aa7bd219cfda707fc86182' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_assign_owner_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_delete_node_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-a27b9efabcd054685a549378b174ad11' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'system_message_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_script_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-aa4891376f34d2c56266ae31f7642e78' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'imagecache_flush_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'imagecache_generate_all_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'imagecache_generate_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_make_sticky_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_make_unsticky_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-c4d3b28efb86fd703619a50b74d43794' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_fields_action' => array(
+ 'selected' => 1,
+ 'skip_confirmation' => 1,
+ 'label' => '',
+ 'settings' => array(
+ 'php_code' => 0,
+ 'show_tokens' => 0,
+ 'display_fields' => array(
+ 'field_accepted' => 'field_accepted',
+ ),
+ '_error_element_base' => 'style_options][operations][views_bulk_operations_fields_action][settings][',
+ ),
+ ),
+ 'views_bulk_operations_taxonomy_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-b811bdcc58993dfee224855680639721' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_bulk_operations_argument_selector_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_promote_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-14de7d028b4bffdf2b4a266562ca18ac' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-9c585624b9b3af0b4687d5f97f35e047' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_publish_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'system_goto_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-4430845052b334550777d4f68f3ad4b1' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpromote_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-8ce21b08bb8e773d10018b484fe4815e' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-239577173a2877b8739df0bcb9471d0f' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_save_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'system_send_email_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'views_send_mail_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-76e4c513dfadc798e2eb84ad0a677401' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_mass_update-0ccad85c1ebe4c9ceada1aa64293b080' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpublish_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'node_unpublish_by_keyword_action' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'auto_nodetitle_operations_update' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'pathauto_node_update_alias_multiple-620e193b20ba9caa374fea9ca0ad38f0' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ 'flag_nodes-26a2244bc5178ba475d6c829fd45c29e' => array(
+ 'selected' => 0,
+ 'skip_confirmation' => 0,
+ 'label' => '',
+ ),
+ ),
));
$handler->override_option('path', 'conference-admin/sessions/unprocessed');
$handler->override_option('menu', array(
Please sign in to comment.
Something went wrong with that request. Please try again.