$content['type'] = array (
'name' => 'Site SECTION',
'type' => 'site_section',
'description' => '
A Site SECTION is the second level of content container of a ORGANISESTUFF™ site.
You would build these after building your main AREAS.
A Site SECTION would usually correspond to a submenu of a Primary Links item in the horizontal navigation bar at the top of all pages but it does not have to as you may wish for it be hidden away slightly better than that.
A Site SECTION does not necessarily have to contain any content in its \'Body\', you may simply choose to use an SECTION as a \'container\' for other stuff to glued to later.
If other site content is \'glued\' to a particular SECTION, then it will automatically appear whenever that SECTION is viewed.
',
'title_label' => 'Title',
'body_label' => 'Body',
'min_word_count' => '0',
'help' => 'Notes on creating Site SECTIONS
A site SECTION must be glued to an AREA.
A SECTION does not necessarily have to contain any content in its \'Body\', you may simply choose to use an SECTION as a \'container\' to which other stuff can be glued later.
If you want a newly created SECTION to appear as one of the sub-menu items of a Primary Links item then...
Scroll to the bottom of this page to the \'Menu settings\' area and ADD A MENU ITEM TITLE into the \'Menu link title:\' box and set an existing Primary Links element (eg \'School Subjects\') as the \'Parent item\'.
',
'node_options' =>
array (
'status' => true,
'promote' => false,
'sticky' => false,
'revision' => false,
),
'seo_checker' => 0,
'upload' => '0',
'old_type' => 'site_section',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'og_content_type_usage' => 'group_post_wiki',
'nodewords_edit_metatags' => 0,
'nodewords_basic_use_teaser' => 0,
'content_profile_use' => 0,
'comment' => '0',
'comment_default_mode' => '4',
'comment_default_order' => '1',
'comment_default_per_page' => '50',
'comment_controls' => '3',
'comment_anonymous' => 0,
'comment_subject_field' => '1',
'comment_preview' => '1',
'comment_form_location' => '0',
'notifications_node_ui' =>
array (
'form' => false,
'comment' => false,
'links' => false,
'teaserlinks' => false,
'subform' => false,
'block' => false,
),
'notifications_content_type' =>
array (
'grouptype' => false,
'thread' => false,
'nodetype' => false,
'author' => false,
'typeauthor' => false,
),
'page_title' =>
array (
'show_field' =>
array (
'show_field' => false,
),
'pattern' => '',
),
'feedapi' =>
array (
'enabled' => false,
'upload_method' => 'url',
'refresh_on_create' => 0,
'update_existing' => 1,
'refresh_time' => 1800,
'items_delete' => 0,
'processors' =>
array (
'feedapi_node' =>
array (
'enabled' => false,
'weight' => 0,
'content_type' => 'webform',
'input_format' => 0,
'node_date' => 'feed',
'x_dedupe' => 0,
),
),
),
);
$content['groups'] = array (
0 =>
array (
'label' => ' Include stuff in this SECTION',
'group_type' => 'standard',
'settings' =>
array (
'form' =>
array (
'style' => 'fieldset',
'description' => '',
),
'display' =>
array (
'description' => '',
'teaser' =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
'full' =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
4 =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
2 =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
3 =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
'token' =>
array (
'format' => 'fieldset',
'exclude' => 1,
),
'label' => 'above',
),
),
'weight' => '-1',
'group_name' => 'group_section_inclusions',
),
);
$content['fields'] = array (
0 =>
array (
'label' => 'Weight',
'field_name' => 'field_site_section_weight',
'type' => 'number_float',
'widget_type' => 'number',
'change' => 'Change basic information',
'weight' => '-3',
'description' => 'More lightly weighted SECTIONS will float to the top of any vertical list or to the left (if in a horizontal arrangement).',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_site_section_weight][0][value',
),
),
'default_value_php' => '',
'default_value_widget' => NULL,
'group' => false,
'required' => 0,
'multiple' => '0',
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'number',
'widget_module' => 'number',
'columns' =>
array (
'value' =>
array (
'type' => 'float',
'not null' => false,
'sortable' => true,
),
),
'display_settings' =>
array (
'weight' => '-3',
'parent' => '',
'token' =>
array (
'format' => 'default',
'exclude' => 1,
),
2 =>
array (
'format' => 'default',
'exclude' => 1,
),
3 =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 1,
),
'label' =>
array (
'format' => 'hidden',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
),
),
1 =>
array (
'label' => 'Glue this SECTION to this AREA',
'field_name' => 'field_site_section_assoc_area',
'type' => 'nodereference',
'widget_type' => 'nodereference_autocomplete',
'change' => 'Change basic information',
'weight' => '-2',
'autocomplete_match' => 'contains',
'size' => '60',
'description' => 'To choose or change which AREA to glue to, click in this box, clear it out and just start typing any part of the Title of the required AREA.
If the title is recognised, you\'ll see it auto-complete for you.',
'default_value' =>
array (
0 =>
array (
'nid' => NULL,
'_error_element' => 'default_value_widget][field_site_section_assoc_area][0][nid][nid',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_site_section_assoc_area' =>
array (
0 =>
array (
'nid' =>
array (
'nid' => '',
'_error_element' => 'default_value_widget][field_site_section_assoc_area][0][nid][nid',
),
'_error_element' => 'default_value_widget][field_site_section_assoc_area][0][nid][nid',
),
),
),
'group' => false,
'required' => 1,
'multiple' => '0',
'referenceable_types' =>
array (
'site_area' => 'site_area',
'admin_page_content' => 0,
'admin_page_site' => 0,
'book' => 0,
'event' => 0,
'feed' => 0,
'gallery_image_embedded' => 0,
'group_post' => 0,
'icon_menu_item' => 0,
'image' => 0,
'individual' => 0,
'long_answer' => 0,
'matching' => 0,
'multichoice' => 0,
'news_item' => 0,
'product_range_header' => 0,
'profile' => 0,
'project' => 0,
'quiz' => 0,
'quiz_directions' => 0,
'reseller' => 0,
'short_answer' => 0,
'sci' => 0,
'site_page' => 0,
'site_section' => 0,
'site_section_level' => 0,
'owner_contact_details' => 0,
'testimonial' => 0,
'true_false' => 0,
'webform' => 0,
'site_topic' => 0,
'site_registration_group' => 0,
'department' => false,
'faculty' => false,
'site_session_group' => 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' => '-2',
'parent' => '',
'token' =>
array (
'format' => 'default',
'exclude' => 1,
),
2 =>
array (
'format' => 'default',
'exclude' => 1,
),
3 =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 1,
),
'label' =>
array (
'format' => 'hidden',
),
'teaser' =>
array (
'format' => 'plain',
'exclude' => 1,
),
'full' =>
array (
'format' => 'plain',
'exclude' => 1,
),
),
),
2 =>
array (
'label' => 'Include this stuff IN FULL',
'field_name' => 'field_section_inclusions_full',
'type' => 'nodereference',
'widget_type' => 'nodereference_autocomplete',
'change' => 'Change basic information',
'weight' => '7',
'autocomplete_match' => 'contains',
'size' => '60',
'description' => 'Any stuff that you chose to include here will automatically appear in full whenever you view this SECTION.
To include stuff, simply start typing something contained within the Title of that stuff and then wait a few seconds.
SimplicityVLE will automatically find it for you.',
'default_value' =>
array (
0 =>
array (
'nid' => NULL,
'_error_element' => 'default_value_widget][field_section_inclusions_full][0][nid][nid',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_section_inclusions_full' =>
array (
0 =>
array (
'nid' =>
array (
'nid' => '',
'_error_element' => 'default_value_widget][field_section_inclusions_full][0][nid][nid',
),
'_error_element' => 'default_value_widget][field_section_inclusions_full][0][nid][nid',
),
),
),
'group' => 'group_section_inclusions',
'required' => 0,
'multiple' => '1',
'referenceable_types' =>
array (
'event' => 'event',
'individual' => 'individual',
'news_item' => 'news_item',
'project' => 'project',
'sci' => 'sci',
'admin_page_content' => 0,
'admin_page_site' => 0,
'book' => 0,
'department' => 0,
'faculty' => 0,
'feed' => 0,
'gallery_image_embedded' => 0,
'icon_menu_item' => 0,
'image' => 0,
'long_answer' => 0,
'matching' => 0,
'multichoice' => 0,
'product_range_header' => 0,
'profile' => 0,
'quiz' => 0,
'quiz_directions' => 0,
'reseller' => 0,
'short_answer' => 0,
'site_area' => 0,
'site_page' => 0,
'site_registration_group' => 0,
'site_section' => 0,
'site_section_level' => 0,
'site_session_group' => 0,
'site_topic' => 0,
'owner_contact_details' => 0,
'testimonial' => 0,
'true_false' => 0,
'webform' => 0,
),
'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' => '7',
'parent' => 'group_section_inclusions',
'token' =>
array (
'format' => 'default',
'exclude' => 1,
),
2 =>
array (
'format' => 'default',
'exclude' => 1,
),
3 =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 1,
),
'label' =>
array (
'format' => 'above',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
),
),
3 =>
array (
'label' => 'Include this stuff as a TEASER',
'field_name' => 'field_section_inclusions_teaser',
'type' => 'nodereference',
'widget_type' => 'nodereference_autocomplete',
'change' => 'Change basic information',
'weight' => '8',
'autocomplete_match' => 'contains',
'size' => '60',
'description' => 'Any stuff that you choose to include here will automatically appear as a brief TEASER whenever you view this SECTION.
The TEASER will appear UNDERNEATH any \'IN FULL\' stuff that you have chosen to include.
You can drag the ARROW TARGETS to re-order the individual items.',
'default_value' =>
array (
0 =>
array (
'nid' => NULL,
'_error_element' => 'default_value_widget][field_section_inclusions_teaser][0][nid][nid',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_section_inclusions_teaser' =>
array (
0 =>
array (
'nid' =>
array (
'nid' => '',
'_error_element' => 'default_value_widget][field_section_inclusions_teaser][0][nid][nid',
),
'_error_element' => 'default_value_widget][field_section_inclusions_teaser][0][nid][nid',
),
),
),
'group' => 'group_section_inclusions',
'required' => 0,
'multiple' => '1',
'referenceable_types' =>
array (
'event' => 'event',
'individual' => 'individual',
'news_item' => 'news_item',
'project' => 'project',
'sci' => 'sci',
'site_section_level' => 'site_section_level',
'site_topic' => 'site_topic',
'admin_page_content' => 0,
'admin_page_site' => 0,
'book' => 0,
'department' => 0,
'faculty' => 0,
'feed' => 0,
'gallery_image_embedded' => 0,
'icon_menu_item' => 0,
'image' => 0,
'long_answer' => 0,
'matching' => 0,
'multichoice' => 0,
'product_range_header' => 0,
'profile' => 0,
'quiz' => 0,
'quiz_directions' => 0,
'reseller' => 0,
'short_answer' => 0,
'site_area' => 0,
'site_page' => 0,
'site_registration_group' => 0,
'site_section' => 0,
'site_session_group' => 0,
'owner_contact_details' => 0,
'testimonial' => 0,
'true_false' => 0,
'webform' => 0,
),
'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' => '8',
'parent' => 'group_section_inclusions',
'token' =>
array (
'format' => 'default',
'exclude' => 1,
),
2 =>
array (
'format' => 'default',
'exclude' => 1,
),
3 =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 1,
),
'label' =>
array (
'format' => 'above',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
),
),
4 =>
array (
'label' => 'Allow others to glue stuff to my bottom',
'field_name' => 'field_allow_attached_content',
'type' => 'number_integer',
'widget_type' => 'optionwidgets_onoff',
'change' => 'Change basic information',
'weight' => '9',
'description' => 'If this option is TICKED then others ARE ALLOWED to attach stuff \'underneath\' the main content as defined by the \'owner\' of this SECTION.',
'default_value' =>
array (
0 =>
array (
'value' => 0,
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_allow_attached_content' =>
array (
'value' => false,
),
),
'group' => 'group_section_inclusions',
'required' => 0,
'multiple' => '0',
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
'allowed_values' => '0|Do not allow others to glue content to my bottom.
1|Allow others to glue content to my bottom.',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'number',
'widget_module' => 'optionwidgets',
'columns' =>
array (
'value' =>
array (
'type' => 'int',
'not null' => false,
'sortable' => true,
),
),
'display_settings' =>
array (
'weight' => '9',
'parent' => 'group_area_inclusions',
'token' =>
array (
'format' => 'default',
'exclude' => 1,
),
2 =>
array (
'format' => 'default',
'exclude' => 1,
),
3 =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 1,
),
'label' =>
array (
'format' => 'above',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
),
),
);
$content['extra'] = array (
'title' => '-5',
'body_field' => '-4',
'revision_information' => '3',
'comment_settings' => '4',
'menu' => '0',
'path' => '5',
'og_nodeapi' => '2',
'nodewords' => '1',
);