Directory
List people and their contact info.
Standard Directory
Introduced in Version 1.0.0
Staff Directory Headline
|
Example Profile A
Very Important Person
|
(304) 293-3292 | profile.a@mail.wvu.edu | Profile: Example Profile A | |
|
Example Profile B
Very Important Person
|
(304) 293-9998 | profile.b@mail.wvu.edu | Profile: Example Profile B | |
|
Example Profile C
Very Important Person
|
(304) 293-0988 | profile.c@mail.wvu.edu | Profile: Example Profile C | |
|
Example Profile D
Very Important Person
|
(304) 293-8799 | profile.d@mail.wvu.edu | Profile: Example Profile D |
CleanSlate Implementation Notes What’s this?
When Using a Shared Partial
- Add a
wvu-directorypartial to a template.
When Using the Super Template
- Add a
directorycomponent to a slot.
Element Styles
- If you want to add a background image, upload your image to Files and label the image with
{page-slug}-directory-{instance-number}-background.
If you need help customizing your theme, check out our tutorials for creating a CleanSlate theme, creating a CleanSlate template using a WVU Design System component, and using the Super Template. We also have a Beginner’s Guide.
Directory w/Profiles
Introduced in Version 1.0.0
Featurettes Headline
Subhead goes here.
Example Profile A
Very Important Person
Lorem ipsum dolor sit amet.
Example Profile B
Very Important Person
Example Profile C
Very Important Person
Example Profile D
Very Important Person
CleanSlate Implementation Notes What’s this?
When Using a Shared Partial
- Add a
wvu-profilespartial to a template. - For each profile you want to display, create a page using the
Profiletemplate, then label the page with{page-slug}-profiles-{instance number}corresponding to the component that contains the profile listing e.g.staff-directory-profiles-1. - To show a description for each profile, go to
Properties > Custom Datathen edit theDescriptionfield in each page that corresponds to a profile. - To show a thumbnail image, upload an image to CleanSlate, copy the thumbnail URL (go to Files then Edit the file you want), then for the page you wish to assign the thumbnail, go to that pages
Properties > Custom Data, and paste the URL into theThumbnail URL Squarefield. Do not use the full URL of the image, however. Your URL will look like this:http://designsystem.wvu.edu/files/d/8bb6c9ef-41e9-4528-b6ba-91cda89c597c/27518a0052xx.jpgbut you need to omit beginninghttp://designsystem.wvu.edupart, thed/and whatever is after the trailing slash (including the slash), in this case/27518a0052xx.jpg. So you would paste in/files/8bb6c9ef-41e9-4528-b6ba-91cda89c597c.
When Using the Super Template
- Add a
profilescomponent to a slot. - For each profile you want to display, create a page using the
Profiletemplate, then label the page with{page-slug}-profiles-{instance number}corresponding to the component that contains the profile listing e.g.staff-directory-profiles-1. - To show a description for each profile, go to
Properties > Custom Datathen edit theDescriptionfield in each page that corresponds to a profile. - To show a thumbnail image, upload an image to CleanSlate, copy the thumbnail URL (go to Files then Edit the file you want), then for the page you wish to assign the thumbnail, go to that pages
Properties > Custom Data, and paste the URL into theThumbnail URL Squarefield. Do not use the full URL of the image, however. Your URL will look like this:http://designsystem.wvu.edu/files/d/8bb6c9ef-41e9-4528-b6ba-91cda89c597c/27518a0052xx.jpgbut you need to omit beginninghttp://designsystem.wvu.edupart, thed/and whatever is after the trailing slash (including the slash), in this case/27518a0052xx.jpg. So you would paste in/files/8bb6c9ef-41e9-4528-b6ba-91cda89c597c.
Element Styles
- If you want to add a background image, upload your image to Files and label the image with
{page-slug}-profiles-{instance-number}-background.
If you need help customizing your theme, check out our tutorials for creating a CleanSlate theme, creating a CleanSlate template using a WVU Design System component, and using the Super Template. We also have a Beginner’s Guide.