Skip to content
Browse files

config from live-server

  • Loading branch information...
1 parent 358841d commit ea6f84157601e40417cfb50a78dc215a5b1eb111 @dasjo committed Sep 23, 2010
View
55 sites/default/modules/adal_base/adal_base.features.content.inc
@@ -11,9 +11,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_contact_address',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '16',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
'format' => 'above',
- 'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
@@ -61,9 +62,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_contact_email',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '14',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'inline',
),
'teaser' => array(
'format' => 'default',
@@ -105,9 +107,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_contact_image',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '13',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'image_plain',
@@ -147,7 +150,7 @@ function adal_base_content_default_fields() {
'default_image' => NULL,
'use_default_image' => 0,
'label' => 'Portrait',
- 'weight' => '13',
+ 'weight' => '-3',
'description' => '',
'type' => 'imagefield_widget',
'module' => 'imagefield',
@@ -159,9 +162,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_contact_misc',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '17',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'default',
@@ -209,9 +213,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_contact_tel',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '15',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'inline',
),
'teaser' => array(
'format' => 'default',
@@ -259,9 +264,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_current_position',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => 0,
+ 'parent' => 'group_alumni_current_position',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'default',
@@ -317,9 +323,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_other_places',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '2',
+ 'parent' => 'group_alumni_other_places',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'default',
@@ -376,9 +383,10 @@ function adal_base_content_default_fields() {
'field_name' => 'field_alumni_short_info',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '18',
+ 'parent' => 'group_alumni_contact_data',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'default',
@@ -427,9 +435,10 @@ weitere kontaktdaten - skype/twitter/etc',
'field_name' => 'field_alumni_work_place',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '-3',
+ 'parent' => 'group_alumni_work_place',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'hidden',
),
'teaser' => array(
'format' => 'default',
@@ -486,9 +495,10 @@ weitere kontaktdaten - skype/twitter/etc',
'field_name' => 'field_alumni_work_place_desc',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '-1',
+ 'parent' => 'group_alumni_work_place',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'inline',
),
'teaser' => array(
'format' => 'default',
@@ -537,9 +547,10 @@ weitere kontaktdaten - skype/twitter/etc',
'field_name' => 'field_alumni_work_year_beg',
'type_name' => 'alumni_info',
'display_settings' => array(
+ 'weight' => '-2',
+ 'parent' => 'group_alumni_work_place',
'label' => array(
- 'format' => 'above',
- 'exclude' => 0,
+ 'format' => 'inline',
),
'teaser' => array(
'format' => 'default',
View
47 sites/default/modules/adal_base/adal_base.features.fieldgroup.inc
@@ -11,14 +11,14 @@ function adal_base_fieldgroup_default_groups() {
'group_type' => 'standard',
'type_name' => 'alumni_info',
'group_name' => 'group_alumni_contact_data',
- 'label' => 'Kontaktdaten',
+ 'label' => 'Info',
'settings' => array(
'form' => array(
- 'style' => 'fieldset_collapsed',
- 'description' => '',
+ 'style' => 'fieldset_collapsible',
+ 'description' => 'Interne Kontaktdaten, diese Informationen werden nicht öffentlich sondern nur für andere, angemeldete Alumni angezeigt',
),
'display' => array(
- 'description' => '',
+ 'description' => 'Interne Kontaktdaten, diese Informationen werden nicht öffentlich sondern nur für andere, angemeldete Alumni angezeigt',
'teaser' => array(
'format' => 'fieldset',
'exclude' => 0,
@@ -31,17 +31,20 @@ function adal_base_fieldgroup_default_groups() {
'format' => 'fieldset',
'exclude' => 0,
),
+ 'token' => array(
+ 'format' => 'fieldset',
+ 'exclude' => 0,
+ ),
'label' => 'above',
),
),
- 'weight' => '-3',
+ 'weight' => '-2',
'fields' => array(
- '0' => 'field_alumni_contact_image',
- '1' => 'field_alumni_contact_email',
- '2' => 'field_alumni_contact_tel',
- '3' => 'field_alumni_contact_address',
- '4' => 'field_alumni_contact_misc',
- '5' => 'field_alumni_short_info',
+ '0' => 'field_alumni_contact_email',
+ '1' => 'field_alumni_contact_tel',
+ '2' => 'field_alumni_contact_address',
+ '3' => 'field_alumni_contact_misc',
+ '4' => 'field_alumni_short_info',
),
);
@@ -57,7 +60,8 @@ function adal_base_fieldgroup_default_groups() {
'description' => '',
),
'display' => array(
- 'description' => '',
+ 'weight' => '-1',
+ 'label' => 'above',
'teaser' => array(
'format' => 'fieldset',
'exclude' => 0,
@@ -66,14 +70,14 @@ function adal_base_fieldgroup_default_groups() {
'format' => 'fieldset',
'exclude' => 0,
),
+ 'description' => '',
'4' => array(
'format' => 'fieldset',
'exclude' => 0,
),
- 'label' => 'above',
),
),
- 'weight' => '-1',
+ 'weight' => '0',
'fields' => array(
'0' => 'field_alumni_current_position',
),
@@ -91,7 +95,8 @@ function adal_base_fieldgroup_default_groups() {
'description' => '',
),
'display' => array(
- 'description' => '',
+ 'weight' => '1',
+ 'label' => 'above',
'teaser' => array(
'format' => 'fieldset',
'exclude' => 0,
@@ -100,11 +105,11 @@ function adal_base_fieldgroup_default_groups() {
'format' => 'fieldset',
'exclude' => 0,
),
+ 'description' => '',
'4' => array(
'format' => 'fieldset',
'exclude' => 0,
),
- 'label' => 'above',
),
),
'weight' => '1',
@@ -122,7 +127,7 @@ function adal_base_fieldgroup_default_groups() {
'settings' => array(
'form' => array(
'style' => 'fieldset_collapsible',
- 'description' => '',
+ 'description' => 'Am einfachsten wird die Einsatzstelle auf der Weltkarte mittels der Adresssuche unterhalb markiert. Bei geteilten Diensten, also um mehrere Stellen zu markieren muss man das Schreibwerkzeug rechts oben im Kartenbereich verwenden. Bei Problemen hilft vielleicht ein Blick ins "WKT" Feld direkt links unter der Karte, dort werden die Koordinaten gespeichert.',
),
'display' => array(
'description' => '',
@@ -138,10 +143,14 @@ function adal_base_fieldgroup_default_groups() {
'format' => 'fieldset',
'exclude' => 0,
),
+ 'token' => array(
+ 'format' => 'fieldset',
+ 'exclude' => 0,
+ ),
'label' => 'above',
),
),
- 'weight' => '-2',
+ 'weight' => '-1',
'fields' => array(
'0' => 'field_alumni_work_place',
'1' => 'field_alumni_work_year_beg',
@@ -152,7 +161,7 @@ function adal_base_fieldgroup_default_groups() {
// Translatables
// Included for use with string extractors like potx.
t('Aktueller Ort');
- t('Kontaktdaten');
+ t('Info');
t('Stelle(n)');
t('Weitere Orte');
View
5 sites/default/modules/adal_base/adal_base.features.inc
@@ -32,7 +32,8 @@ function adal_base_node_info() {
'alumni_info' => array(
'name' => t('Alumni Info'),
'module' => 'features',
- 'description' => '',
+ 'description' => t('Informationen wie Kontaktdaten, Stelle und aktueller Ort eines Alumnus
+Diese Datenblätter werden derzeit separat erstellt könnten später aber mittels dem Drupal Content-Profile Modul direkt mit unseren Alumni/Benutzern verknüpft werden. '),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
@@ -43,7 +44,7 @@ function adal_base_node_info() {
'place_info' => array(
'name' => t('Place Info'),
'module' => 'features',
- 'description' => t('Stellenbeschreibung'),
+ 'description' => t('Einfache Stellenbeschreibung, wird auf der karte vor den auslandsdienern bei der jeweiligen stelle angezeigt'),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
View
16 sites/default/modules/adal_map/adal_map.openlayers_presets.inc
@@ -20,20 +20,19 @@ function adal_map_openlayers_presets() {
'hide_empty_map' => 0,
'center' => array(
'initial' => array(
- 'centerpoint' => '0,0',
+ 'centerpoint' => '-1.4062499999439, 20.961439613297',
'zoom' => '2',
),
'restrict' => array(
'restrictextent' => 0,
- 'restrictedExtent' => '',
+ 'restrictedExtent' => '-19724422.2714,-19998372.580725,19880965.3053,19763558.029875',
),
),
'behaviors' => array(
'openlayers_behavior_attribution' => array(),
'openlayers_behavior_popup' => array(
'layers' => array(
'alumni_map_openlayers_1' => 'alumni_map_openlayers_1',
- 'alumni_map_openlayers_2' => 'alumni_map_openlayers_2',
),
),
'openlayers_behavior_keyboarddefaults' => array(),
@@ -47,25 +46,24 @@ function adal_map_openlayers_presets() {
'openlayers_behavior_cluster' => array(
'clusterlayer' => array(
'alumni_map_openlayers_1' => 'alumni_map_openlayers_1',
- 'alumni_map_openlayers_2' => 'alumni_map_openlayers_2',
),
'distance' => '20',
'threshold' => '',
),
),
- 'default_layer' => 'google_satellite',
+ 'default_layer' => 'google_physical',
'layers' => array(
- 'google_satellite' => 'google_satellite',
+ 'google_physical' => 'google_physical',
'alumni_map_openlayers_1' => 'alumni_map_openlayers_1',
),
- 'layer_styles' => array(),
+ 'layer_styles' => array(
+ 'alumni_map_openlayers_1' => 'work_place_style',
+ ),
'layer_activated' => array(
'alumni_map_openlayers_1' => 'alumni_map_openlayers_1',
- 'alumni_map_openlayers_2' => 'alumni_map_openlayers_2',
),
'layer_switcher' => array(
'alumni_map_openlayers_1' => 'alumni_map_openlayers_1',
- 'alumni_map_openlayers_2' => 'alumni_map_openlayers_2',
),
'projection' => '900913',
'displayProjection' => '4326',
View
22 sites/default/modules/adal_map/adal_map.openlayers_styles.inc
@@ -12,24 +12,16 @@ function adal_map_openlayers_styles() {
$openlayers_styles->title = 'Work Place Style';
$openlayers_styles->description = 'adal work places getting styled';
$openlayers_styles->data = array(
- 'externalGraphic' => '',
- 'pointRadius' => '5',
- 'fillColor' => '#33FF33',
+ 'pointRadius' => 5,
+ 'fillColor' => '#FFFFFF',
'strokeColor' => '#000000',
- 'strokeWidth' => '1',
- 'fillOpacity' => '1',
- 'strokeOpacity' => '1',
+ 'strokeWidth' => 3,
+ 'fillOpacity' => 1,
+ 'strokeOpacity' => 1,
'strokeLinecap' => 'round',
'strokeDashstyle' => 'solid',
- 'cursor' => '',
- 'graphicWidth' => '',
- 'graphicHeight' => '',
- 'graphicOpacity' => '1',
- 'graphicXOffset' => '',
- 'graphicYOffset' => '',
- 'graphicName' => '',
- 'rotation' => '',
- 'display' => '',
+ 'graphicOpacity' => 1,
+ 'labelAlign' => 'cm',
);
$export['work_place_style'] = $openlayers_styles;
View
108 sites/default/modules/adal_map/adal_map.views_default.inc
@@ -59,8 +59,8 @@ function adal_map_views_default_views() {
),
'relationship' => 'none',
),
- 'field_alumni_work_place_openlayers_wkt' => array(
- 'label' => 'Stelle(n)',
+ 'title' => array(
+ 'label' => 'Title',
'alter' => array(
'alter_text' => 0,
'text' => '',
@@ -82,26 +82,18 @@ function adal_map_views_default_views() {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
+ 'link_to_node' => 1,
'exclude' => 0,
- 'id' => 'field_alumni_work_place_openlayers_wkt',
- 'table' => 'node_data_field_alumni_work_place',
- 'field' => 'field_alumni_work_place_openlayers_wkt',
+ 'id' => 'title',
+ 'table' => 'node',
+ 'field' => 'title',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
- 'body' => array(
- 'label' => 'Body',
+ 'teaser' => array(
+ 'label' => 'Teaser',
'alter' => array(
'alter_text' => 0,
'text' => '',
@@ -113,8 +105,8 @@ function adal_map_views_default_views() {
'suffix' => '',
'target' => '',
'help' => '',
- 'trim' => 0,
- 'max_length' => '',
+ 'trim' => 1,
+ 'max_length' => '300',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
@@ -124,16 +116,13 @@ function adal_map_views_default_views() {
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
- 'id' => 'body',
+ 'id' => 'teaser',
'table' => 'node_revisions',
- 'field' => 'body',
- 'override' => array(
- 'button' => 'Override',
- ),
+ 'field' => 'teaser',
'relationship' => 'none',
),
- 'title' => array(
- 'label' => 'Title',
+ 'field_alumni_work_place_openlayers_wkt_1' => array(
+ 'label' => 'Stelle(n)',
'alter' => array(
'alter_text' => 0,
'text' => '',
@@ -155,14 +144,19 @@ function adal_map_views_default_views() {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
- 'link_to_node' => 1,
- 'exclude' => 0,
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- 'override' => array(
- 'button' => 'Override',
+ 'link_to_node' => 0,
+ 'label_type' => 'widget',
+ 'format' => 'openlayers_wkt',
+ 'multiple' => array(
+ 'group' => TRUE,
+ 'multiple_number' => '',
+ 'multiple_from' => '',
+ 'multiple_reversed' => FALSE,
),
+ 'exclude' => 0,
+ 'id' => 'field_alumni_work_place_openlayers_wkt_1',
+ 'table' => 'node_data_field_alumni_work_place',
+ 'field' => 'field_alumni_work_place_openlayers_wkt',
'relationship' => 'none',
),
));
@@ -183,6 +177,13 @@ function adal_map_views_default_views() {
'relationship' => 'none',
),
));
+ $handler->override_option('filters', array(
+ 'status_extra' => array(
+ 'id' => 'status_extra',
+ 'table' => 'node',
+ 'field' => 'status_extra',
+ ),
+ ));
$handler->override_option('access', array(
'type' => 'none',
));
@@ -195,18 +196,16 @@ function adal_map_views_default_views() {
$handler->override_option('style_options', array(
'grouping' => '',
'data_source' => array(
- 'value' => array(
- 'openlayers_wkt' => 'openlayers_wkt',
- ),
- 'other_lat' => 'field_alumni_work_place_openlayers_wkt',
- 'other_lon' => 'field_alumni_work_place_openlayers_wkt',
- 'openlayers_wkt' => 'field_alumni_work_place_openlayers_wkt',
- 'other_top' => 'field_alumni_work_place_openlayers_wkt',
- 'other_right' => 'field_alumni_work_place_openlayers_wkt',
- 'other_bottom' => 'field_alumni_work_place_openlayers_wkt',
- 'other_left' => 'field_alumni_work_place_openlayers_wkt',
+ 'value' => 'openlayers_wkt',
+ 'other_lat' => 'field_alumni_contact_image_fid',
+ 'other_lon' => 'field_alumni_contact_image_fid',
+ 'openlayers_wkt' => 'field_alumni_work_place_openlayers_wkt_1',
+ 'other_top' => 'field_alumni_contact_image_fid',
+ 'other_right' => 'field_alumni_contact_image_fid',
+ 'other_bottom' => 'field_alumni_contact_image_fid',
+ 'other_left' => 'field_alumni_contact_image_fid',
'name_field' => 'title',
- 'description_field' => 'body',
+ 'description_field' => 'teaser',
),
));
$handler = $view->new_display('openlayers', 'Alumni Map Work Place', 'openlayers_1');
@@ -235,23 +234,6 @@ function adal_map_views_default_views() {
));
$handler = $view->new_display('openlayers', 'Alumni Map Current Position', 'openlayers_2');
$handler->override_option('title', 'Alumni Map Current Position');
- $handler->override_option('style_options', array(
- 'grouping' => '',
- 'data_source' => array(
- 'value' => array(
- 'openlayers_wkt' => 'openlayers_wkt',
- ),
- 'other_lat' => 'field_alumni_work_place_openlayers_wkt',
- 'other_lon' => 'field_alumni_work_place_openlayers_wkt',
- 'openlayers_wkt' => 'field_alumni_current_position_openlayers_wkt',
- 'other_top' => 'field_alumni_work_place_openlayers_wkt',
- 'other_right' => 'field_alumni_work_place_openlayers_wkt',
- 'other_bottom' => 'field_alumni_work_place_openlayers_wkt',
- 'other_left' => 'field_alumni_work_place_openlayers_wkt',
- 'name_field' => 'title',
- 'description_field' => 'body',
- ),
- ));
$handler->override_option('row_plugin', '');
$handler->override_option('displays', array());
$handler = $view->new_display('page', 'Map List', 'page_2');
@@ -272,6 +254,12 @@ function adal_map_views_default_views() {
'relationship' => 'none',
),
));
+ $handler->override_option('access', array(
+ 'type' => 'role',
+ 'role' => array(
+ '2' => 2,
+ ),
+ ));
$handler->override_option('items_per_page', 2);
$handler->override_option('style_plugin', 'default');
$handler->override_option('style_options', array());

0 comments on commit ea6f841

Please sign in to comment.
Something went wrong with that request. Please try again.