Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
wcms-openscholar
uw_virtual_site_homepage
Commits
d83aa9e5
Commit
d83aa9e5
authored
Jan 19, 2017
by
Eric Bremner
Browse files
FDSU-1805: Adding faculty colours.
parent
234caff6
Changes
3
Hide whitespace changes
Inline
Side-by-side
uw_virtual_site_homepage.features.field_base.inc
View file @
d83aa9e5
...
@@ -136,13 +136,75 @@ function uw_virtual_site_homepage_field_default_field_bases() {
...
@@ -136,13 +136,75 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'foreign keys'
=>
array
(),
'foreign keys'
=>
array
(),
'indexes'
=>
array
(
'indexes'
=>
array
(
'value'
=>
array
(
'value'
=>
array
(
0
=>
'value'
,
),
),
),
),
'locked'
=>
0
,
'locked'
=>
0
,
'module'
=>
'list'
,
'module'
=>
'list'
,
'settings'
=>
array
(
'settings'
=>
array
(
'allowed_values'
=>
array
(),
'allowed_values'
=>
array
(
1
=>
'Site name (no logo)'
,
'logo'
=>
'University of Waterloo'
,
'ahs'
=>
'Applied Health Sciences'
,
'ahs_Kinesiology'
=>
'Applied Health Sciences - Kinesiology'
,
'ahs_PublicHealth'
=>
'Applied Health Sciences - Public Health'
,
'ahs_Recreation_Lesiure'
=>
'Applied Health Sciences - Recreation and Leisure Studies'
,
'Arts'
=>
'Arts'
,
'Arts_Anthropology'
=>
'Arts - Anthropology'
,
'Arts_Classical_Studies'
=>
'Arts - Classical Studies'
,
'Arts_Drama_Speech_Communication'
=>
'Arts - Drama Speech Communication'
,
'Arts_Economics'
=>
'Arts - Economics'
,
'Arts_English_Language_Literature'
=>
'Arts - English Language Literature'
,
'Arts_FineArts'
=>
'Arts - Fine Arts'
,
'Arts_French'
=>
'Arts - French'
,
'Arts_Germanic_Slavic_Studies'
=>
'Arts - Germanic Slavic Studies'
,
'Arts_History'
=>
'Arts - History'
,
'Arts_Philosophy'
=>
'Arts - Philosophy'
,
'Arts_Political_Science'
=>
'Arts - Political Science'
,
'Arts_Psychology'
=>
'Arts - Psychology'
,
'Arts_Religious_Studies'
=>
'Arts - Religious Studies'
,
'Arts_School_of_Accounting_and_Finance'
=>
'Arts - School of Accounting and Finance'
,
'Arts_Sociology_and_Legal_Studies'
=>
'Arts - Sociology and Legal Studies'
,
'Arts_Spanish_and_Latin_American_Studies'
=>
'Arts - Spanish and Latin American Studies'
,
'Engineering'
=>
'Engineering'
,
'Engineering_wordmark'
=>
'Engineering wordmark'
,
'Engineering_Architecture'
=>
'Engineering - Architecture'
,
'Engineering_Chemical_Engineering'
=>
'Engineering - Chemical Engineering'
,
'Engineering_Civil_Environmental_Engineering'
=>
'Engineering - Civil Environmental Engineering'
,
'Engineering_Electrical_Computer_Engineering'
=>
'Engineering - Electrical Computer Engineering'
,
'Engineering_Management_Sciences'
=>
'Engineering - Management Sciences'
,
'Engineering_Mechanical_Engineering'
=>
'Engineering - Mechanical Engineering'
,
'Engineering_Systems_Design_Engineering'
=>
'Engineering - Systems Design Engineering'
,
'Environment'
=>
'Environment'
,
'Environment_Environment_Enterprise_Development'
=>
'Environment - Environment Enterprise Development'
,
'Environment_Enviromental_Resources_and_Sustainability'
=>
'Environment - Enviromental Resources and Sustainability'
,
'Environment_Geography_Environmental_and_Management'
=>
'Environment - Geography Environmental and Management'
,
'Environment_Knowledge_Intergration'
=>
'Environment - Knowledge Intergration'
,
'Environment_Planning'
=>
'Environment - Planning'
,
'Mathematics'
=>
'Mathematics'
,
'Math_Applied_Math'
=>
'Mathematics - Applied Math'
,
'Math_Combinatorics_and_Optimization'
=>
'Mathematics - Combinatorics and Optimization'
,
'Math_Computer_Science'
=>
'Mathematics - Computer Science'
,
'Math_Pure_Math'
=>
'Mathematics - Pure Math'
,
'Math_Statistics_Actuarial_Science'
=>
'Mathematics - Statistics Actuarial Science'
,
'Science'
=>
'Science'
,
'Science_Biology'
=>
'Science - Biology'
,
'Science_Chemistry'
=>
'Science - Chemistry'
,
'Science_Earth_and_Environmental_Science'
=>
'Science - Earth and Environmental Science'
,
'Science_Optometry_and_Vision_Science'
=>
'Science - Optometry and Vision Science'
,
'Sciecne_Pharmacy'
=>
'Science - Pharmacy'
,
'Science_Physics_and_Astronomy'
=>
'Science - Physics and Astronomy'
,
'conrad_grebel'
=>
'Conrad Grebel'
,
'renison_university_college'
=>
'Renison University College'
,
'st_jeromes_university'
=>
'St. Jerome’s University'
,
'st_pauls'
=>
'St. Paul’s University College'
,
'McMaster_University'
=>
'McMaster University'
,
'University_of_Guelph'
=>
'University of Guelph'
,
'Water_Institute'
=>
'Water Institute'
,
'Western_University'
=>
'Western University'
,
'Wilfrid_Laurier_University'
=>
'Wilfrid Laurier University'
,
'Other'
=>
'Other'
,
),
'allowed_values_function'
=>
''
,
'allowed_values_function'
=>
''
,
),
),
'translatable'
=>
0
,
'translatable'
=>
0
,
...
@@ -235,6 +297,35 @@ function uw_virtual_site_homepage_field_default_field_bases() {
...
@@ -235,6 +297,35 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type'
=>
'text'
,
'type'
=>
'text'
,
);
);
// Exported field_base: 'field_uw_other_faculty'
$field_bases
[
'field_uw_other_faculty'
]
=
array
(
'active'
=>
1
,
'cardinality'
=>
1
,
'deleted'
=>
0
,
'entity_types'
=>
array
(),
'field_name'
=>
'field_uw_other_faculty'
,
'foreign keys'
=>
array
(
'format'
=>
array
(
'columns'
=>
array
(
'format'
=>
'format'
,
),
'table'
=>
'filter_format'
,
),
),
'indexes'
=>
array
(
'format'
=>
array
(
0
=>
'format'
,
),
),
'locked'
=>
0
,
'module'
=>
'text'
,
'settings'
=>
array
(
'max_length'
=>
255
,
),
'translatable'
=>
0
,
'type'
=>
'text'
,
);
// Exported field_base: 'field_uw_phone_number'
// Exported field_base: 'field_uw_phone_number'
$field_bases
[
'field_uw_phone_number'
]
=
array
(
$field_bases
[
'field_uw_phone_number'
]
=
array
(
'active'
=>
1
,
'active'
=>
1
,
...
...
uw_virtual_site_homepage.features.field_instance.inc
View file @
d83aa9e5
...
@@ -353,7 +353,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
...
@@ -353,7 +353,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
'module'
=>
'options'
,
'module'
=>
'options'
,
'settings'
=>
array
(),
'settings'
=>
array
(),
'type'
=>
'options_select'
,
'type'
=>
'options_select'
,
'weight'
=>
7
,
'weight'
=>
6
,
),
),
);
);
...
@@ -597,6 +597,76 @@ function uw_virtual_site_homepage_field_default_field_instances() {
...
@@ -597,6 +597,76 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
),
);
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_other_faculty'
$field_instances
[
'node-uw_virtual_site_homepage-field_uw_other_faculty'
]
=
array
(
'bundle'
=>
'uw_virtual_site_homepage'
,
'default_value'
=>
NULL
,
'deleted'
=>
0
,
'description'
=>
''
,
'display'
=>
array
(
'default'
=>
array
(
'label'
=>
'above'
,
'module'
=>
'text'
,
'settings'
=>
array
(),
'type'
=>
'text_default'
,
'weight'
=>
14
,
),
'links'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
'no_image_teaser'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
'sidebar_teaser'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
'slide_teaser'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
'teaser'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
'title'
=>
array
(
'label'
=>
'above'
,
'settings'
=>
array
(),
'type'
=>
'hidden'
,
'weight'
=>
0
,
),
),
'entity_type'
=>
'node'
,
'field_name'
=>
'field_uw_other_faculty'
,
'label'
=>
'Other faculty'
,
'required'
=>
0
,
'settings'
=>
array
(
'text_processing'
=>
0
,
'user_register_form'
=>
FALSE
,
),
'widget'
=>
array
(
'active'
=>
1
,
'module'
=>
'text'
,
'settings'
=>
array
(
'size'
=>
60
,
),
'type'
=>
'text_textfield'
,
'weight'
=>
7
,
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_phone_number'
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_phone_number'
$field_instances
[
'node-uw_virtual_site_homepage-field_uw_phone_number'
]
=
array
(
$field_instances
[
'node-uw_virtual_site_homepage-field_uw_phone_number'
]
=
array
(
'bundle'
=>
'uw_virtual_site_homepage'
,
'bundle'
=>
'uw_virtual_site_homepage'
,
...
@@ -1019,6 +1089,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
...
@@ -1019,6 +1089,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
t
(
'Images should be 360 pixels by 480 pixels.'
);
t
(
'Images should be 360 pixels by 480 pixels.'
);
t
(
'Office hours'
);
t
(
'Office hours'
);
t
(
'Office location'
);
t
(
'Office location'
);
t
(
'Other faculty'
);
t
(
'Phone number'
);
t
(
'Phone number'
);
t
(
'Profile image'
);
t
(
'Profile image'
);
t
(
'Provide banner images for virtual site homepages on Scholar at Waterloo sites.'
);
t
(
'Provide banner images for virtual site homepages on Scholar at Waterloo sites.'
);
...
...
uw_virtual_site_homepage.info
View file @
d83aa9e5
...
@@ -30,6 +30,7 @@ features[field_base][] = field_uw_faculty_list_logo
...
@@ -30,6 +30,7 @@ features[field_base][] = field_uw_faculty_list_logo
features
[
field_base
][]
=
field_uw_home_page_banners
features
[
field_base
][]
=
field_uw_home_page_banners
features
[
field_base
][]
=
field_uw_office_hours
features
[
field_base
][]
=
field_uw_office_hours
features
[
field_base
][]
=
field_uw_office_location
features
[
field_base
][]
=
field_uw_office_location
features
[
field_base
][]
=
field_uw_other_faculty
features
[
field_base
][]
=
field_uw_phone_number
features
[
field_base
][]
=
field_uw_phone_number
features
[
field_base
][]
=
field_uw_profile_image
features
[
field_base
][]
=
field_uw_profile_image
features
[
field_base
][]
=
field_uw_site_description
features
[
field_base
][]
=
field_uw_site_description
...
@@ -42,6 +43,7 @@ features[field_instance][] = node-uw_virtual_site_homepage-field_uw_faculty_list
...
@@ -42,6 +43,7 @@ features[field_instance][] = node-uw_virtual_site_homepage-field_uw_faculty_list
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_home_page_banners
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_home_page_banners
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_office_hours
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_office_hours
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_office_location
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_office_location
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_other_faculty
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_phone_number
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_phone_number
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_profile_image
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_profile_image
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_site_description
features
[
field_instance
][]
=
node
-
uw_virtual_site_homepage
-
field_uw_site_description
...
@@ -67,4 +69,4 @@ features[variable][] = node_preview_uw_virtual_site_homepage
...
@@ -67,4 +69,4 @@ features[variable][] = node_preview_uw_virtual_site_homepage
features
[
variable
][]
=
node_submitted_uw_virtual_site_homepage
features
[
variable
][]
=
node_submitted_uw_virtual_site_homepage
features
[
views_view
][]
=
uw_virtual_site_homepage_view
features
[
views_view
][]
=
uw_virtual_site_homepage_view
features_exclude
[
menu_links
][
navigation_uw
-
virtual
-
site
-
homepage
:
node
/
add
/
uw
-
virtual
-
site
-
homepage
]
=
navigation_uw
-
virtual
-
site
-
homepage
:
node
/
add
/
uw
-
virtual
-
site
-
homepage
features_exclude
[
menu_links
][
navigation_uw
-
virtual
-
site
-
homepage
:
node
/
add
/
uw
-
virtual
-
site
-
homepage
]
=
navigation_uw
-
virtual
-
site
-
homepage
:
node
/
add
/
uw
-
virtual
-
site
-
homepage
mtime
=
1484
686351
mtime
=
1484
842727
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment