1 of 40

Stanford Modules

Stanford Drupal Camp 2016

2 of 40

Who are we?

Irina Zaks�Force of nature,�@ Open Source Lab

izaks@stanford.edu

Caryl Westerberg�Web Producer�@ Stanford Web services

cjwest@stanford.edu

3 of 40

Release the Power of Stanford+Drupal

  • Enable Stanford Themes
  • Enable Stanford Modules

With Stanford Light Theme and

With these Stanford modules:

  • Page
  • Person
  • Events
  • Courses
  • Slideshow/carousel (and more)

4 of 40

Stanford Light

5 of 40

Stanford Light Theme

Default theme on Stanford Sites

Select the theme at: Appearance

6 of 40

Working with Stanford Light Theme

7 of 40

8 of 40

Stanford Page

9 of 40

Stanford Page

Stanford Page is general purpose content type.

Fields include:

  • Body with Content Editor Text Format
    • Eraser
    • Styles
    • Formats
  • Image insert with image styles
  • File insert

Just enable the Stanford Page module

10 of 40

Working with Stanford Page

You can:

  • Set it to be the home page
  • Add it to a menu
  • Manage all your Stanford Pages at: admin/manage/page
  • Use Manage Display to change the layout and featured image size

11 of 40

Drupal File Manager

12 of 40

Working with Drupal’s File Manager

Files

Images

13 of 40

Stanford Person

14 of 40

Stanford Person

Displays profiles for people in academia.

Lots of fields! Field groupings include:

  • Basic Info
  • Bio
  • Contact
  • Faculty Info
  • Staff Info

15 of 40

Stanford Person modules

Stanford Person

Stanford Person Views*

*Will automatically enable all required modules

16 of 40

Working with Stanford Person

You can:

  • Manage all your Stanford Pages at: admin/manage/people
  • Use Manage Display to change the layout and featured image size

17 of 40

Stanford Person Taxonomies

Stanford Person provides these taxonomies:

  • Affiliation (ex. Faculty, Student, Staff)
  • Faculty Type
  • Staff Type
  • Student Type

People listing pages (views) rely on these taxonomies

18 of 40

Working with Stanford Person Views

Set-up:

  • Create taxonomy terms for Affiliation (Faculty, Staff, and Student)
  • Tag people with these terms

19 of 40

Working with Stanford Person Views

These predefined views provide People listing pages for

  • Faculty at people/faculty
  • Student at people/student
  • Staff at people/staff and people/staff/grouped

You can add these links to the Main Menu

20 of 40

Stanford Events

21 of 40

Stanford Events

Displays information about events.

Fields include:

  • Time and date
  • Location
  • Map link
  • Admission information
  • Description
  • Event Sponsor
  • Contact Info

22 of 40

Stanford Events Importer

Imports from Stanford Events (events.stanford.edu)

Importer information

  • Category
  • Organization
    • Published
    • Unlisted
    • Bookmarked

23 of 40

Stanford Event modules

Stanford Event Importer

Stanford Events Views*

*Will automatically enable all required modules

24 of 40

Working with Stanford Events

You can:

  • Manage all the Stanford Events on your site at: admin/manage/events
  • Use Manage Display to change the layout and featured image size
  • Import event info from Stanford Events (events.stanford.edu)

25 of 40

Importing Events with �Stanford Events Importer

  • Create an event importer at �Structure > Content types �> Stanford Event Importer
  • Select Category or Organization
  • Click Save and it imports events!

26 of 40

Working with Stanford Events Views

Event listing pages (views)

  • Upcoming Events at events/upcoming-events
  • Past Events at events/past-events
  • Display blocks of 3 or 5 items

27 of 40

Stanford Courses

28 of 40

Stanford Courses

Fields include:

  • Subject
  • Requirements
  • Grading
  • Course ID & Code
  • Tags for organization, name, etc.
  • Section information such as instructor, day and time, and location
  • Link to the course on ExploreCourses

29 of 40

Stanford Course Importer

Imports Course data from ExploreCourses at

https://explorecourses.stanford.edu

30 of 40

Stanford Courses modules

Stanford Courses

Stanford Course Views*

Stanford Courses Administration*

*Needed to enable all required modules

31 of 40

Working with�Stanford Course Importer

  • Create a course importer at �Structure > Content types �> Course Importer
  • Give it a URL from ExploreCourses
  • Save and it imports your courses

32 of 40

Working with Stanford Courses

You can:

  • Manage all the Stanford Courses on your site at: admin/manage/courses
  • See all courses at courses/search
  • See current courses at courses

33 of 40

Stanford Slides and Carousel

34 of 40

Stanford Slides and Carousel

Images with captions to show with Stanford Carousel.

Fields include:

  • Title
  • Image
  • Link for more info
  • Caption with backgrounds and positions
  • Category
  • Featured (indicates hidden or displayed)
  • Weight for ordering

35 of 40

Stanford Slides & Carousel modules

Stanford Slides

Stanford Carousel*

*Will automatically enable all required modules

36 of 40

Working with Stanford Slides �and Carousel

You can:

  • Manage all the Stanford Slides on your site at: admin/manage/stanford_slides
  • Display a slideshow
    • With up to 6 slides
    • Spanning 9 or 12 columns
    • With a caption, caption block, or no caption

37 of 40

Working with Stanford Slides �and Carousel

  • Create your slides:�Content > Add content > Stanford Slides
  • Place the Carousel block�Structure > Blocks
  • Navigate to your page

38 of 40

Questions?

39 of 40

Not on Stanford Sites?

Download from Github!

40 of 40

Thank You!