added footer menu, insert module, image field to page
This commit is contained in:
@@ -33,5 +33,33 @@ function page_field_default_field_bases() {
|
||||
'type' => 'text_with_summary',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_images'.
|
||||
$field_bases['field_images'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_images',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'entity_translation_sync' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'image',
|
||||
);
|
||||
|
||||
return $field_bases;
|
||||
}
|
||||
|
||||
@@ -57,13 +57,90 @@ function page_field_default_field_instances() {
|
||||
'summary_rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea_with_summary',
|
||||
'weight' => -4,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-page-field_images'.
|
||||
$field_instances['node-page-field_images'] = array(
|
||||
'bundle' => 'page',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'accueil' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'image_link' => '',
|
||||
'image_style' => '',
|
||||
),
|
||||
'type' => 'image',
|
||||
'weight' => 1,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_images',
|
||||
'label' => 'images',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'alt_field' => 0,
|
||||
'default_image' => 0,
|
||||
'entity_translation_sync' => FALSE,
|
||||
'file_directory' => '',
|
||||
'file_extensions' => 'png gif jpg jpeg',
|
||||
'max_filesize' => '',
|
||||
'max_resolution' => '',
|
||||
'min_resolution' => '',
|
||||
'title_field' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'insert' => 1,
|
||||
'insert_absolute' => 0,
|
||||
'insert_class' => '',
|
||||
'insert_default' => 'auto',
|
||||
'insert_styles' => array(
|
||||
'auto' => 'auto',
|
||||
'icon_link' => 0,
|
||||
'image' => 0,
|
||||
'image_large' => 0,
|
||||
'image_linkit_thumb' => 0,
|
||||
'image_medium' => 0,
|
||||
'image_thumbnail' => 0,
|
||||
'image_video_thumb_docu' => 0,
|
||||
'image_video_thumb_episode' => 0,
|
||||
'image_video_thumb_themat' => 0,
|
||||
'image_video_thumbnail' => 0,
|
||||
'link' => 0,
|
||||
),
|
||||
'insert_width' => '',
|
||||
'preview_image_style' => 'thumbnail',
|
||||
'progress_indicator' => 'throbber',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Body');
|
||||
t('images');
|
||||
|
||||
return $field_instances;
|
||||
}
|
||||
|
||||
@@ -3,13 +3,17 @@ core = 7.x
|
||||
package = FigLi
|
||||
dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = image
|
||||
dependencies[] = insert
|
||||
dependencies[] = node
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = text
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = body
|
||||
features[field_base][] = field_images
|
||||
features[field_instance][] = node-page-body
|
||||
features[field_instance][] = node-page-field_images
|
||||
features[node][] = page
|
||||
features[user_permission][] = create page content
|
||||
features[user_permission][] = delete any page content
|
||||
@@ -18,6 +22,7 @@ features[user_permission][] = edit any page content
|
||||
features[user_permission][] = edit own page content
|
||||
features[variable][] = additional_settings__active_tab_page
|
||||
features[variable][] = devel_redirect_page
|
||||
features[variable][] = field_bundle_settings_node__page
|
||||
features[variable][] = menu_options_page
|
||||
features[variable][] = menu_parent_page
|
||||
features[variable][] = node_options_page
|
||||
|
||||
@@ -24,6 +24,32 @@ function page_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['devel_redirect_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'field_bundle_settings_node__page';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'title' => array(
|
||||
'weight' => '0',
|
||||
),
|
||||
'path' => array(
|
||||
'weight' => '3',
|
||||
),
|
||||
'redirect' => array(
|
||||
'weight' => '4',
|
||||
),
|
||||
'workflow' => array(
|
||||
'weight' => '5',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_node__page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
|
||||
Reference in New Issue
Block a user