Skip to content

This guide provides instructions and information about Stanford Web Services Jumpstart platform, based on Drupal 7.

We've released our new Stanford Sites on Drupal 8 (D8) platform — the new framework for Stanford Sites in 2020 and beyond. Check out our new User Guide to help you set up your website on the D8 platform. 

Read more about our road to D8 

Related Content

The Related Content feature is used to display related news, events, and people on a Stanford Page based on a shared taxonomy. For example, you can use it to group information together on a research area, or as a lightweight program landing page.

Preparing to add Related Content to a Stanford Page

Before starting, make sure that you have the Related Content module enabled on your site. If you’re unsure if it is enabled or not, please contact us via the Get Help function of your site and we can help you get set up.

  1. Once the Related Content module is enabled on your site, you’ll need to first set up a Taxonomy for relating your content together.

  2. If you do not see a “Related Content” taxonomy available on your Manage Taxonomies page, your site does not have the Related Content module enabled.

  3. Add terms to your “Related Content” taxonomy that you would like to use for grouping news, events, and people on a Page.

Adding Related Content to a new or existing Page

  1. Next, either create a new Page or edit an existing page for displaying the related content; add content as desired to the Body section of your page, such as for a research area overview.

  2. Look for the section “Related Content” on the node edit form. It will have the Related Content taxonomy terms that you created:

  1. Check the box next to the terms for which you’d like related news, events, and/or people to appear on this Page.

  2. Click Save when finished with editing your Page.

Linking related news, events, and/or people

  1. For…

    1. News: Create a new News node or edit an existing News node that you want to appear on a Related Content Page.

    2. Events: Create a new Event node or edit an existing Event node that you want to appear on a Related Content Page.

    3. People Profiles: Create a new Person node or edit an existing Person node that you want to appear on a Related Content Page.

  2. Look for the section “Related Content” on the node edit form. It will have the Related Content taxonomy terms that you created.

  1. Check the box next to the terms for which you’d like related news, events, and/or people to appear on this page.

  2. Click Save when finished with editing your node.

  3. Your linked news, events, and/or people profiles will now appear on your Page with Related Content tagged.

Notes and Troubleshooting

  • Up to two of the most recent news stories with the selected Related Content term will appear in the Related News block on your Page.

    • Users can click “See more related news” to go to the news page with the related content filter pre-selected which shows other news stories tagged with the same Related Content term.

 

 

  • Up to two of the latest, upcoming events with the selected Related Content term will appear in the Related Events block on your Page. If there are no upcoming events tagged, the Related Events block will not appear.

    • Users can click “See more related events” to go to the events listing page with the related content filter pre-selected which shows other events tagged with the same Related Content term.

 

 

  • All Person profiles tagged with the Related Content term will appear in a 5 column grid block at the bottom of the Related Content Page. If there are no profiles tagged, the Related People block will not appear.

 

  • If you’ve tagged content but it is not appearing on your Related Content Page, try clearing your site cache to refresh the views.