Skip to content

Commit a2caf21

Browse files
committed
Added views and owlcarosel settings.
modified: sites/all/modules/custom/st_typo_features/st_typo_features.context.inc modified: sites/all/modules/custom/st_typo_features/st_typo_features.features.field_base.inc modified: sites/all/modules/custom/st_typo_features/st_typo_features.features.field_instance.inc modified: sites/all/modules/custom/st_typo_features/st_typo_features.features.inc modified: sites/all/modules/custom/st_typo_features/st_typo_features.info modified: sites/all/modules/custom/st_typo_features/st_typo_features.strongarm.inc modified: sites/all/modules/custom/st_typo_features/st_typo_features.views_default.inc
1 parent 1681b94 commit a2caf21

7 files changed

+369
-68
lines changed

sites/all/modules/custom/st_typo_features/st_typo_features.context.inc

+14-38
Original file line numberDiff line numberDiff line change
@@ -70,74 +70,50 @@ function st_typo_features_context_default_contexts() {
7070
'md_slider-banner-slideshow' => array(
7171
'module' => 'md_slider',
7272
'delta' => 'banner-slideshow',
73-
'region' => 'home_section',
73+
'region' => 'content',
7474
'weight' => '-10',
7575
),
7676
'views-our_work-block' => array(
7777
'module' => 'views',
7878
'delta' => 'our_work-block',
7979
'region' => 'content',
80-
'weight' => '-10',
81-
),
82-
'views-portfolio-block_1' => array(
83-
'module' => 'views',
84-
'delta' => 'portfolio-block_1',
85-
'region' => 'content',
8680
'weight' => '-9',
8781
),
88-
'block-12' => array(
89-
'module' => 'block',
90-
'delta' => '12',
82+
'views-first_parallax-block' => array(
83+
'module' => 'views',
84+
'delta' => 'first_parallax-block',
9185
'region' => 'content',
9286
'weight' => '-8',
9387
),
94-
'block-13' => array(
95-
'module' => 'block',
96-
'delta' => '13',
88+
'views-blog-block_2' => array(
89+
'module' => 'views',
90+
'delta' => 'blog-block_2',
9791
'region' => 'content',
9892
'weight' => '-7',
9993
),
100-
'views-portfolio-block' => array(
94+
'views-first_parallax-block_1' => array(
10195
'module' => 'views',
102-
'delta' => 'portfolio-block',
96+
'delta' => 'first_parallax-block_1',
10397
'region' => 'content',
10498
'weight' => '-6',
10599
),
106-
'views-testimonial-block' => array(
100+
'views-team-block_1' => array(
107101
'module' => 'views',
108-
'delta' => 'testimonial-block',
102+
'delta' => 'team-block_1',
109103
'region' => 'content',
110104
'weight' => '-5',
111105
),
112-
'views-blog-block_2' => array(
106+
'views-first_parallax-block_2' => array(
113107
'module' => 'views',
114-
'delta' => 'blog-block_2',
108+
'delta' => 'first_parallax-block_2',
115109
'region' => 'content',
116110
'weight' => '-4',
117111
),
118-
'views-client-block' => array(
119-
'module' => 'views',
120-
'delta' => 'client-block',
121-
'region' => 'content',
122-
'weight' => '-3',
123-
),
124112
'views-pricing_table-block' => array(
125113
'module' => 'views',
126114
'delta' => 'pricing_table-block',
127115
'region' => 'content',
128-
'weight' => '-2',
129-
),
130-
'views-team-block' => array(
131-
'module' => 'views',
132-
'delta' => 'team-block',
133-
'region' => 'content',
134-
'weight' => '-1',
135-
),
136-
'block-9' => array(
137-
'module' => 'block',
138-
'delta' => '9',
139-
'region' => 'content',
140-
'weight' => '0',
116+
'weight' => '-3',
141117
),
142118
),
143119
),

sites/all/modules/custom/st_typo_features/st_typo_features.features.field_base.inc

+86
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,36 @@ function st_typo_features_field_default_field_bases() {
3939
'type' => 'text_with_summary',
4040
);
4141

42+
// Exported field_base: 'field_about_image'
43+
$field_bases['field_about_image'] = array(
44+
'active' => 1,
45+
'cardinality' => 1,
46+
'deleted' => 0,
47+
'entity_types' => array(),
48+
'field_name' => 'field_about_image',
49+
'foreign keys' => array(
50+
'fid' => array(
51+
'columns' => array(
52+
'fid' => 'fid',
53+
),
54+
'table' => 'file_managed',
55+
),
56+
),
57+
'indexes' => array(
58+
'fid' => array(
59+
0 => 'fid',
60+
),
61+
),
62+
'locked' => 0,
63+
'module' => 'image',
64+
'settings' => array(
65+
'default_image' => 0,
66+
'uri_scheme' => 'public',
67+
),
68+
'translatable' => 0,
69+
'type' => 'image',
70+
);
71+
4272
// Exported field_base: 'field_awesome_class'
4373
$field_bases['field_awesome_class'] = array(
4474
'active' => 1,
@@ -68,6 +98,33 @@ function st_typo_features_field_default_field_bases() {
6898
'type' => 'text',
6999
);
70100

101+
// Exported field_base: 'field_bio'
102+
$field_bases['field_bio'] = array(
103+
'active' => 1,
104+
'cardinality' => 1,
105+
'deleted' => 0,
106+
'entity_types' => array(),
107+
'field_name' => 'field_bio',
108+
'foreign keys' => array(
109+
'format' => array(
110+
'columns' => array(
111+
'format' => 'format',
112+
),
113+
'table' => 'filter_format',
114+
),
115+
),
116+
'indexes' => array(
117+
'format' => array(
118+
0 => 'format',
119+
),
120+
),
121+
'locked' => 0,
122+
'module' => 'text',
123+
'settings' => array(),
124+
'translatable' => 0,
125+
'type' => 'text_long',
126+
);
127+
71128
// Exported field_base: 'field_category'
72129
$field_bases['field_category'] = array(
73130
'active' => 1,
@@ -218,6 +275,35 @@ function st_typo_features_field_default_field_bases() {
218275
'type' => 'image',
219276
);
220277

278+
// Exported field_base: 'field_job_title'
279+
$field_bases['field_job_title'] = array(
280+
'active' => 1,
281+
'cardinality' => 1,
282+
'deleted' => 0,
283+
'entity_types' => array(),
284+
'field_name' => 'field_job_title',
285+
'foreign keys' => array(
286+
'format' => array(
287+
'columns' => array(
288+
'format' => 'format',
289+
),
290+
'table' => 'filter_format',
291+
),
292+
),
293+
'indexes' => array(
294+
'format' => array(
295+
0 => 'format',
296+
),
297+
),
298+
'locked' => 0,
299+
'module' => 'text',
300+
'settings' => array(
301+
'max_length' => 255,
302+
),
303+
'translatable' => 0,
304+
'type' => 'text',
305+
);
306+
221307
// Exported field_base: 'field_position'
222308
$field_bases['field_position'] = array(
223309
'active' => 1,

sites/all/modules/custom/st_typo_features/st_typo_features.features.field_instance.inc

+132
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,56 @@ function st_typo_features_field_default_field_instances() {
5454
),
5555
);
5656

57+
// Exported field_instance: 'node-about-field_about_image'
58+
$field_instances['node-about-field_about_image'] = array(
59+
'bundle' => 'about',
60+
'deleted' => 0,
61+
'description' => '',
62+
'display' => array(
63+
'default' => array(
64+
'label' => 'above',
65+
'module' => 'image',
66+
'settings' => array(
67+
'image_link' => '',
68+
'image_style' => '',
69+
),
70+
'type' => 'image',
71+
'weight' => 2,
72+
),
73+
'teaser' => array(
74+
'label' => 'above',
75+
'settings' => array(),
76+
'type' => 'hidden',
77+
'weight' => 0,
78+
),
79+
),
80+
'entity_type' => 'node',
81+
'field_name' => 'field_about_image',
82+
'label' => 'Image',
83+
'required' => 0,
84+
'settings' => array(
85+
'alt_field' => 0,
86+
'default_image' => 0,
87+
'file_directory' => '',
88+
'file_extensions' => 'png gif jpg jpeg',
89+
'max_filesize' => '',
90+
'max_resolution' => '',
91+
'min_resolution' => '',
92+
'title_field' => 0,
93+
'user_register_form' => FALSE,
94+
),
95+
'widget' => array(
96+
'active' => 1,
97+
'module' => 'image',
98+
'settings' => array(
99+
'preview_image_style' => 'thumbnail',
100+
'progress_indicator' => 'throbber',
101+
),
102+
'type' => 'image_image',
103+
'weight' => 33,
104+
),
105+
);
106+
57107
// Exported field_instance: 'node-about-field_awesome_class'
58108
$field_instances['node-about-field_awesome_class'] = array(
59109
'bundle' => 'about',
@@ -472,6 +522,86 @@ function st_typo_features_field_default_field_instances() {
472522
),
473523
);
474524

525+
// Exported field_instance: 'node-member-field_bio'
526+
$field_instances['node-member-field_bio'] = array(
527+
'bundle' => 'member',
528+
'default_value' => NULL,
529+
'deleted' => 0,
530+
'description' => '',
531+
'display' => array(
532+
'default' => array(
533+
'label' => 'above',
534+
'module' => 'text',
535+
'settings' => array(),
536+
'type' => 'text_default',
537+
'weight' => 3,
538+
),
539+
'teaser' => array(
540+
'label' => 'above',
541+
'settings' => array(),
542+
'type' => 'hidden',
543+
'weight' => 0,
544+
),
545+
),
546+
'entity_type' => 'node',
547+
'field_name' => 'field_bio',
548+
'label' => 'Bio',
549+
'required' => 0,
550+
'settings' => array(
551+
'text_processing' => 0,
552+
'user_register_form' => FALSE,
553+
),
554+
'widget' => array(
555+
'active' => 1,
556+
'module' => 'text',
557+
'settings' => array(
558+
'rows' => 5,
559+
),
560+
'type' => 'text_textarea',
561+
'weight' => 34,
562+
),
563+
);
564+
565+
// Exported field_instance: 'node-member-field_job_title'
566+
$field_instances['node-member-field_job_title'] = array(
567+
'bundle' => 'member',
568+
'default_value' => NULL,
569+
'deleted' => 0,
570+
'description' => '',
571+
'display' => array(
572+
'default' => array(
573+
'label' => 'above',
574+
'module' => 'text',
575+
'settings' => array(),
576+
'type' => 'text_default',
577+
'weight' => 2,
578+
),
579+
'teaser' => array(
580+
'label' => 'above',
581+
'settings' => array(),
582+
'type' => 'hidden',
583+
'weight' => 0,
584+
),
585+
),
586+
'entity_type' => 'node',
587+
'field_name' => 'field_job_title',
588+
'label' => 'Job Title',
589+
'required' => 0,
590+
'settings' => array(
591+
'text_processing' => 0,
592+
'user_register_form' => FALSE,
593+
),
594+
'widget' => array(
595+
'active' => 1,
596+
'module' => 'text',
597+
'settings' => array(
598+
'size' => 60,
599+
),
600+
'type' => 'text_textfield',
601+
'weight' => 33,
602+
),
603+
);
604+
475605
// Exported field_instance: 'node-member-field_single_image'
476606
$field_instances['node-member-field_single_image'] = array(
477607
'bundle' => 'member',
@@ -1103,11 +1233,13 @@ function st_typo_features_field_default_field_instances() {
11031233
// Translatables
11041234
// Included for use with string extractors like potx.
11051235
t('Awesome class');
1236+
t('Bio');
11061237
t('Body');
11071238
t('Enter a comma-separated list of words to describe your content.');
11081239
t('Featured');
11091240
t('Features');
11101241
t('Image');
1242+
t('Job Title');
11111243
t('Link');
11121244
t('Position');
11131245
t('Price');

sites/all/modules/custom/st_typo_features/st_typo_features.features.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ function st_typo_features_flag_default_flags() {
6464
'access_author' => '',
6565
'show_contextual_link' => 0,
6666
'i18n' => 0,
67-
'api_version' => 3,
6867
'module' => 'st_typo_features',
6968
'locked' => array(
7069
0 => 'name',
7170
),
71+
'api_version' => 3,
7272
);
7373
return $flags;
7474

@@ -257,7 +257,7 @@ $sliders = array(
257257
'title' => 'Banner slideshow',
258258
'description' => '',
259259
'machine_name' => 'banner-slideshow',
260-
'settings' => 'a:31:{s:10:"full_width";i:1;s:11:"full_height";i:1;s:5:"width";s:4:"1302";s:6:"height";s:3:"680";s:11:"touch_swipe";i:1;s:10:"responsive";i:1;s:8:"videobox";i:0;s:4:"loop";i:1;s:10:"loadingbar";s:4:"none";s:12:"bar_position";s:6:"bottom";s:21:"show_next_prev_button";i:1;s:9:"auto_play";i:1;s:11:"pause_hover";i:0;s:11:"show_bullet";i:0;s:15:"bullet_position";s:1:"5";s:14:"show_thumbnail";i:0;s:18:"thumbnail_position";s:1:"1";s:12:"border_style";s:1:"0";s:16:"dropshadow_style";s:1:"0";s:9:"animation";s:4:"fade";s:5:"delay";s:4:"8000";s:9:"transtime";s:3:"800";s:11:"thumb_width";s:3:"100";s:12:"thumb_height";s:2:"75";s:18:"create_bg_imgstyle";i:0;s:10:"dmf_google";s:134:"http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic|Montserrat:400,700";s:15:"enable_font_css";i:1;s:17:"generate_css_file";i:0;s:8:"on_start";s:0:"";s:6:"on_end";s:0:"";s:11:"color_saved";s:13:"ff9900,CC0000";}',
260+
'settings' => 'a:31:{s:10:"full_width";i:1;s:11:"full_height";i:0;s:5:"width";s:4:"1302";s:6:"height";s:3:"420";s:11:"touch_swipe";i:1;s:10:"responsive";i:1;s:8:"videobox";i:0;s:4:"loop";i:1;s:10:"loadingbar";s:4:"none";s:12:"bar_position";s:6:"bottom";s:21:"show_next_prev_button";i:1;s:9:"auto_play";i:1;s:11:"pause_hover";i:0;s:11:"show_bullet";i:1;s:15:"bullet_position";s:1:"2";s:14:"show_thumbnail";i:0;s:18:"thumbnail_position";s:1:"1";s:12:"border_style";s:1:"0";s:16:"dropshadow_style";s:1:"0";s:9:"animation";s:4:"fade";s:5:"delay";s:4:"8000";s:9:"transtime";s:3:"800";s:11:"thumb_width";s:3:"100";s:12:"thumb_height";s:2:"75";s:18:"create_bg_imgstyle";i:0;s:10:"dmf_google";s:134:"http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic|Montserrat:400,700";s:15:"enable_font_css";i:1;s:17:"generate_css_file";i:0;s:8:"on_start";s:0:"";s:6:"on_end";s:0:"";s:11:"color_saved";s:13:"ff9900,CC0000";}',
261261
),
262262
2 => array(
263263
'slid' => 2,

0 commit comments

Comments
 (0)