Skip to content

Commit 271b3d5

Browse files
committed
Features re-export.
1 parent d81c330 commit 271b3d5

File tree

4 files changed

+50
-36
lines changed

4 files changed

+50
-36
lines changed

ding_content/ding_content.strongarm.inc

+18-4
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,24 @@ function ding_content_strongarm() {
348348
);
349349
$export['content_extra_weights_flexifield_ting_refs'] = $strongarm;
350350

351+
$strongarm = new stdClass;
352+
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
353+
$strongarm->api_version = 1;
354+
$strongarm->name = 'content_extra_weights_topic';
355+
$strongarm->value = array(
356+
'title' => '4',
357+
'body_field' => '6',
358+
'revision_information' => '11',
359+
'author' => '14',
360+
'options' => '15',
361+
'comment_settings' => '13',
362+
'menu' => '10',
363+
'taxonomy' => '8',
364+
'path' => '12',
365+
'path_redirect' => '16',
366+
);
367+
$export['content_extra_weights_topic'] = $strongarm;
368+
351369
$strongarm = new stdClass;
352370
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
353371
$strongarm->api_version = 1;
@@ -376,8 +394,6 @@ function ding_content_strongarm() {
376394
$strongarm->value = '0';
377395
$export['language_content_type_feature'] = $strongarm;
378396

379-
$export['language_content_type_feature'] = $strongarm;
380-
381397
$strongarm = new stdClass;
382398
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
383399
$strongarm->api_version = 1;
@@ -452,8 +468,6 @@ function ding_content_strongarm() {
452468
);
453469
$export['node_options_forum'] = $strongarm;
454470

455-
$export['node_options_forum'] = $strongarm;
456-
457471
$strongarm = new stdClass;
458472
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
459473
$strongarm->api_version = 1;

ding_staff_profile/ding_staff_profile.features.content.inc

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function ding_staff_profile_content_default_fields() {
5353
'widget' => array(
5454
'file_extensions' => 'png gif jpg jpeg',
5555
'file_path' => 'profile_image/[uid]',
56-
'progress_indicator' => 'bar',
5756
'max_filesize_per_file' => '',
5857
'max_filesize_per_node' => '',
5958
'max_resolution' => 0,
@@ -62,9 +61,10 @@ function ding_staff_profile_content_default_fields() {
6261
'custom_alt' => 1,
6362
'title' => '',
6463
'custom_title' => 0,
65-
'title_type' => 'textfield',
6664
'default_image' => NULL,
6765
'use_default_image' => 0,
66+
'progress_indicator' => 'bar',
67+
'title_type' => 'textfield',
6868
'insert' => NULL,
6969
'insert_styles' => NULL,
7070
'insert_default' => NULL,
@@ -276,6 +276,7 @@ function ding_staff_profile_content_default_fields() {
276276
// Translatables
277277
// Included for use with string extractors like potx.
278278
t('Arbejder med');
279+
t('Biblioteker');
279280
t('Profilbillede');
280281
t('Stilling');
281282

ding_staff_profile/ding_staff_profile.info

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ description = "Staff profile content type for Ding."
33
core = "6.x"
44
package = "Ding!"
55
dependencies[] = "auto_nodetitle"
6-
dependencies[] = "content_profile"
7-
dependencies[] = "imagecache"
8-
dependencies[] = "nodereference"
9-
dependencies[] = "rules"
10-
dependencies[] = "strongarm"
116
dependencies[] = "cache_actions"
7+
dependencies[] = "content_profile"
8+
dependencies[] = "ding_content"
129
dependencies[] = "features"
10+
dependencies[] = "imagecache"
1311
dependencies[] = "imagefield"
1412
dependencies[] = "link"
13+
dependencies[] = "nodereference"
1514
dependencies[] = "page_manager"
15+
dependencies[] = "rules"
16+
dependencies[] = "strongarm"
1617
dependencies[] = "views"
1718
features[content][] = "profile-field_image"
1819
features[content][] = "profile-field_multi_library_ref"
1920
features[content][] = "profile-field_staff_title"
2021
features[content][] = "profile-field_work_area"
22+
features[ctools][] = "strongarm:strongarm:1"
2123
features[node][] = "profile"
2224
features[variable][] = "ant_pattern_profile"
2325
features[variable][] = "ant_php_profile"

ding_staff_profile/ding_staff_profile.views_default.inc

+22-25
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ function ding_staff_profile_views_default_views() {
1111
$view->name = 'user_blog_list';
1212
$view->description = 'List of blog/articles posted by a user.';
1313
$view->tag = '';
14-
$view->view_php = '';
1514
$view->base_table = 'node';
16-
$view->is_cacheable = FALSE;
17-
$view->api_version = 2;
15+
$view->core = 0;
16+
$view->api_version = '2';
1817
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
1918
$handler = $view->new_display('default', 'Defaults', 'default');
2019
$handler->override_option('sorts', array(
@@ -53,11 +52,11 @@ function ding_staff_profile_views_default_views() {
5352
'field' => 'uid',
5453
'validate_user_argument_type' => 'uid',
5554
'validate_user_roles' => array(
56-
'2' => 0,
57-
'3' => 0,
58-
'4' => 0,
59-
'5' => 0,
60-
'6' => 0,
55+
2 => 0,
56+
3 => 0,
57+
4 => 0,
58+
5 => 0,
59+
6 => 0,
6160
),
6261
'relationship' => 'none',
6362
'default_options_div_prefix' => '',
@@ -74,10 +73,10 @@ function ding_staff_profile_views_default_views() {
7473
'validate_argument_node_access' => 0,
7574
'validate_argument_nid_type' => 'nid',
7675
'validate_argument_vocabulary' => array(
77-
'4' => 0,
78-
'5' => 0,
79-
'1' => 0,
80-
'2' => 0,
76+
4 => 0,
77+
5 => 0,
78+
1 => 0,
79+
2 => 0,
8180
),
8281
'validate_argument_type' => 'tid',
8382
'validate_argument_transform' => 0,
@@ -144,10 +143,9 @@ function ding_staff_profile_views_default_views() {
144143
$view->name = 'user_comments_list';
145144
$view->description = 'List of comments a user has posted.';
146145
$view->tag = '';
147-
$view->view_php = '';
148146
$view->base_table = 'comments';
149-
$view->is_cacheable = FALSE;
150-
$view->api_version = 2;
147+
$view->core = 0;
148+
$view->api_version = '2';
151149
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
152150
$handler = $view->new_display('default', 'Defaults', 'default');
153151
$handler->override_option('relationships', array(
@@ -246,11 +244,11 @@ function ding_staff_profile_views_default_views() {
246244
'relationship' => 'uid',
247245
'validate_user_argument_type' => 'uid',
248246
'validate_user_roles' => array(
249-
'2' => 0,
250-
'3' => 0,
251-
'4' => 0,
252-
'5' => 0,
253-
'6' => 0,
247+
2 => 0,
248+
3 => 0,
249+
4 => 0,
250+
5 => 0,
251+
6 => 0,
254252
),
255253
'default_options_div_prefix' => '',
256254
'default_argument_user' => 0,
@@ -268,10 +266,10 @@ function ding_staff_profile_views_default_views() {
268266
'validate_argument_node_access' => 0,
269267
'validate_argument_nid_type' => 'nid',
270268
'validate_argument_vocabulary' => array(
271-
'4' => 0,
272-
'5' => 0,
273-
'1' => 0,
274-
'2' => 0,
269+
4 => 0,
270+
5 => 0,
271+
1 => 0,
272+
2 => 0,
275273
),
276274
'validate_argument_type' => 'tid',
277275
'validate_argument_transform' => 0,
@@ -394,6 +392,5 @@ function ding_staff_profile_views_default_views() {
394392

395393
$views[$view->name] = $view;
396394

397-
398395
return $views;
399396
}

0 commit comments

Comments
 (0)