Created
September 1, 2010 19:57
Revisions
-
mikl revised this gist
Sep 1, 2010 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,12 @@ <?php // $Id$ /** * @file * This is a dump of the session node type from the DrupalCon Copenhagen site. */ $content['type'] = array ( 'name' => 'Session', 'type' => 'session', -
mikl created this gist
Sep 1, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,1254 @@ $content['type'] = array ( 'name' => 'Session', 'type' => 'session', 'description' => 'Each session is a presentation at the event.', 'title_label' => 'Title', 'body_label' => 'Session description', 'min_word_count' => '50', 'help' => 'Please complete this form to submit your session proposals. All sessions will be exactly one hour in length.', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'old_type' => 'session', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'content_profile_use' => 0, 'comment' => '2', 'comment_default_mode' => '4', 'comment_default_order' => '2', 'comment_default_per_page' => '50', 'comment_controls' => '3', 'comment_anonymous' => 0, 'comment_subject_field' => '0', 'comment_preview' => '0', 'comment_form_location' => '1', 'fivestar' => 0, 'fivestar_stars' => 5, 'fivestar_labels_enable' => 1, 'fivestar_label_0' => 'Cancel rating', 'fivestar_label_1' => 'Poor', 'fivestar_label_2' => 'Okay', 'fivestar_label_3' => 'Good', 'fivestar_label_4' => 'Great', 'fivestar_label_5' => 'Awesome', 'fivestar_label_6' => 'Give it @star/@count', 'fivestar_label_7' => 'Give it @star/@count', 'fivestar_label_8' => 'Give it @star/@count', 'fivestar_label_9' => 'Give it @star/@count', 'fivestar_label_10' => 'Give it @star/@count', 'fivestar_style' => 'average', 'fivestar_text' => 'dual', 'fivestar_title' => 1, 'fivestar_feedback' => 1, 'fivestar_unvote' => 0, 'fivestar_position_teaser' => 'hidden', 'fivestar_position' => 'below', 'ant' => 0, 'ant_pattern' => '', 'ant_php' => '', ); $content['fields'] = array ( 0 => array ( 'label' => 'Type', 'field_name' => 'field_session_type', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '22', 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => 'rejected|Not planned session session|Session in official program bof|BOF session', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '22', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'plain', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Day', 'field_name' => 'field_session_day', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '23', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_day' => array ( 'value' => '', ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '20100824|Tuesday, 24. august 2010 20100825|Wednesday, 25. august 2010 20100826|Thursday, 26. august 2010', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '23', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'plain', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Time', 'field_name' => 'field_session_time', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '24', 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_time' => array ( 'value' => '', ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '09:00-09:50|09:00-09:50 10:00-10:50|10:00-10:50 11:00-12:30|11:00-12:30 13:30-14:30|13:30-14:30 14:45-15:45|14:45-15:45 16:00-17:00|16:00-17:00 17:15-18:00|17:15-18:00', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '24', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'plain', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'Room', 'field_name' => 'field_session_room', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '25', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_room' => array ( 'value' => '', ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => 'room1|10 Propeople room2|11 Microsoft room3|12 Trellon room4|18 VPS.NET room5|19 Acquia room6|20 Valhalla bof1|BOF space 1 bof2|BOF space 2 bof3|BOF space 3 bof4|BOF space 4', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '25', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'Teaser', 'field_name' => 'field_text_teaser', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '27', 'rows' => '3', 'size' => 60, 'description' => 'A short text that describes the session', 'default_value' => array ( 0 => array ( 'value' => '', 'format' => '1', '_error_element' => 'default_value_widget][field_text_teaser][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_text_teaser' => array ( 0 => array ( 'value' => '', 'format' => 1, '_error_element' => 'default_value_widget][field_text_teaser][0][value', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '1', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), 'format' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, 'views' => false, ), ), 'display_settings' => array ( 'weight' => '20', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 1, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'Duration', 'field_name' => 'field_session_duration', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '28', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_duration' => array ( 'value' => '', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '5|5 minutes (lightning talk) 45|45 minutes (+15 minutes Q&A)', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '28', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 6 => array ( 'label' => 'Image', 'field_name' => 'field_main_image', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '29', 'file_extensions' => 'png gif jpg jpeg', 'progress_indicator' => 'bar', 'file_path' => '', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => 0, 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title_type' => 'textfield', 'title' => '', 'use_default_image' => 0, 'default_image_upload' => '', 'default_image' => NULL, 'description' => 'got an image that shows your session in all its awesome glory?', 'ffp_field_main_image' => array ( 'file_path' => '', 'file_path_cleanup' => array ( 'file_path_pathauto' => 0, 'file_path_tolower' => 0, 'file_path_transliterate' => 0, ), 'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', 'file_name_cleanup' => array ( 'file_name_pathauto' => 0, 'file_name_tolower' => 0, 'file_name_transliterate' => 0, ), 'retroactive_update' => '', 'active_updating' => 0, ), 'group' => false, 'required' => 0, 'multiple' => '0', 'list_field' => '0', 'list_default' => 1, 'description_field' => '0', 'op' => 'Save field settings', 'module' => 'filefield', 'widget_module' => 'imagefield', 'columns' => array ( 'fid' => array ( 'type' => 'int', 'not null' => false, 'views' => true, ), 'list' => array ( 'type' => 'int', 'size' => 'tiny', 'not null' => false, 'views' => true, ), 'data' => array ( 'type' => 'text', 'serialize' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '17', 'parent' => 'group_image', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'image_plain', 'exclude' => 1, ), 'full' => array ( 'format' => '700_210_default', 'exclude' => 1, ), 4 => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'token' => array ( 'format' => 'image_plain', 'exclude' => 0, ), ), ), 7 => array ( 'label' => 'Image Text', 'field_name' => 'field_text_image', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '30', 'rows' => '3', 'size' => 60, 'description' => 'a short text for the image', 'default_value' => array ( 0 => array ( 'value' => '', 'format' => '1', '_error_element' => 'default_value_widget][field_text_image][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_text_image' => array ( 0 => array ( 'value' => '', 'format' => '1', '_error_element' => 'default_value_widget][field_text_image][0][value', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '100', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '100', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '18', 'parent' => 'group_image', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 1, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 8 => array ( 'label' => 'Additional Presenters', 'field_name' => 'field_session_presenters', 'type' => 'nodereference', 'widget_type' => 'nodereference_autocomplete', 'change' => 'Change basic information', 'weight' => '33', 'autocomplete_match' => 'contains', 'size' => '60', 'description' => 'If your session has multiple presenters, you can enter them here (they must have created profiles).', 'default_value' => array ( 0 => array ( 'nid' => NULL, '_error_element' => 'default_value_widget][field_session_presenters][0][nid][nid', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_presenters' => array ( 0 => array ( 'nid' => array ( 'nid' => '', '_error_element' => 'default_value_widget][field_session_presenters][0][nid][nid', ), '_error_element' => 'default_value_widget][field_session_presenters][0][nid][nid', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '10', 'referenceable_types' => array ( 'profile' => 'profile', 'feed' => 0, 'feed_item' => 0, 'forum' => 0, 'map_item' => 0, 'news' => 0, 'page' => 0, 'product' => 0, 'nonvat' => 0, 'session' => 0, 'sponsor' => 0, 'training' => 0, 'twitterfeed' => 0, 'webform' => 0, 'even' => 0, 'teaser' => 0, 'eval' => false, ), 'advanced_view' => '--', 'advanced_view_args' => '', 'op' => 'Save field settings', 'module' => 'nodereference', 'widget_module' => 'nodereference', 'columns' => array ( 'nid' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, 'index' => true, ), ), 'display_settings' => array ( 'weight' => '33', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 9 => array ( 'label' => 'Resources', 'field_name' => 'field_session_resources', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => '34', 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_resources' => array ( 0 => array ( 'url' => '', 'title' => '', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '5', 'validate_url' => 0, 'url' => 0, 'title' => 'optional', 'title_value' => '', 'enable_tokens' => 0, 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => 'default', 'rel' => '', 'class' => '', 'title' => '', ), 'op' => 'Save field settings', 'module' => 'link', 'widget_module' => 'link', 'columns' => array ( 'url' => array ( 'type' => 'varchar', 'length' => 2048, 'not null' => false, 'sortable' => true, ), 'title' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'attributes' => array ( 'type' => 'text', 'size' => 'medium', 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '34', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 10 => array ( 'label' => 'Video from archive.org', 'field_name' => 'field_session_video', 'type' => 'emvideo', 'widget_type' => 'emvideo_textfields', 'change' => 'Change basic information', 'weight' => '35', 'providers' => array ( 'archive' => true, 0 => 1, 'bliptv' => false, 'dailymotion' => false, 'google' => false, 'guba' => false, 'imeem' => false, 'lastfm' => false, 'livevideo' => false, 'metacafe' => false, 'myspace' => false, 'revver' => false, 'sevenload' => false, 'spike' => false, 'tudou' => false, 'twistage' => false, 'ustream' => false, 'ustreamlive' => false, 'vimeo' => false, 'voicethread' => false, 'yahoomusic' => false, 'youtube' => false, 'zzz_custom_url' => false, ), 'video_width' => '425', 'video_height' => '350', 'video_autoplay' => '', 'preview_width' => '425', 'preview_height' => '350', 'preview_autoplay' => '', 'thumbnail_width' => '120', 'thumbnail_height' => '90', 'thumbnail_default_path' => '', 'thumbnail_link_title' => 'See video', 'description' => 'Enter the url of the archive.org overview page for the video. For instance http://www.archive.org/details/GettingStartedWithDrupalcon', 'default_value' => array ( 0 => array ( 'embed' => '', 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_session_video' => array ( 0 => array ( 'embed' => '', 'value' => '', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'op' => 'Save field settings', 'module' => 'emvideo', 'widget_module' => 'emvideo', 'columns' => array ( 'embed' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, ), 'value' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'provider' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'data' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => false, ), 'version' => array ( 'description' => 'The version of the provider\'s data.', 'type' => 'int', 'unsigned' => true, 'not null' => true, 'default' => 0, ), 'duration' => array ( 'description' => 'Store the duration of a video in seconds.', 'type' => 'int', 'unsigned' => true, 'not null' => true, 'default' => 0, ), ), 'display_settings' => array ( 'weight' => '35', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'email_plain' => array ( 'format' => 'default', 'exclude' => 0, ), 'email_html' => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '26', 'body_field' => '31', 'revision_information' => '37', 'author' => '20', 'options' => '21', 'comment_settings' => '39', 'menu' => '36', 'taxonomy' => '32', 'path' => '38', );