Resource

How to work with the Resource content type

The Resource content type is useful for providing informational resources, external links, and downloadable files, particularly those that are cross-referenced from other site content.

Step 1: Create a resource

  1. Use the platform menu to navigate to Content > Add Content > Resource.

Step 2: Add resource content

Note that resource details display if you choose the Link to Details Page resource type. The other resource type options bypass the details page and go directly to the linked resource.

  1. Add a name for the resource in the Resource Name field. Note that the Resource Name will link to the file attachment on resource lists and search results for the Download File resource type.
  2. Select a Resource Type from the following options:
    1. Choose Link to Details Page for a resource that when clicked from a list will go to a page about the resource.
    2. Choose Link to External URL for a resource that when clicked will go to an external link.
    3. Choose Download File for a resource that will download a file as soon as it is clicked from a listing page (requires a File Attachment).
Screenshot of portion of the Resource edit screen showing the resource name field and the resource type radio buttons, with the Link to Details Page radio button selected.
For a Resource with a linked details page, provide a Resource Name to serve as a link name and select the Link to Details Page radio button.
  1. Click within the Body area. You can add content, images and quotes within this section (see Text Editor for details about using the toolbar and text input area). Add your content for the resource in this area.
    1. If you would like to add an image within your content, click on the media icon (see Adding an image for instructions for adding an image using the text editor).
    2. Format all of your content and images using the text editor.
  2. Add a File Attachment to the resource, if desired. Note that this step is required for the Download File resource type (see File Attachments for details about ways to link to downloadable files).
    1. Supported file formats are TXT, DOC, DOCX, XLS, XLSX, CSV, PDF, and RTF. Make sure any documents uploaded to your site are accessible (see document accessibility).
    2. Select the Add media button to select a document from the media library or upload a new document (see Media Library for details about working with the media library).
  3. For the Link to External URL resource type, enter the external URL in the Redirect URL field. The Resource Name will link to the URL on resource lists and search results.
  4. Add additional components to the Resource details page by selecting the Choose component button in the Additional Content section (see Adding a component for instructions on how to add a component). Components added to this section will display in the Bottom Region, below the Resource details.

Step 3: Configure resource settings

  1. Add a descriptive Excerpt to display on resource lists and search results.
  2. Add a Thumbnail to provide additional context about the resource for site visitors.
    1. The optimal image size (in pixels) for a thumbnail image is 960 x 540 (see Image Sizes for more details).
  3. We also recommend assigning taxonomy terms to resources, to help filter resource lists and search results (see Taxonomy best practices and Managing taxonomies for guidance on creating and using taxonomies).
  4. The first time you save a resource, we recommend you save as a Draft so that you can preview the resource and its links before publishing it to your site (see Publish Status for details about different publication statuses).

Related how-tos

Linking to a file

How to create and link to a downloadable file resource, and how to update the file with a newer version.

View from below of a person ascending a spiral staircase.

Related resources


Learn more about the Resource content type

Examples

Demo Site

See examples of the Resource content type on the Resources landing page of the Department of Rocket Science demo site.

Support and feedback options for HarvardSites Drupal

Submit a ticket

If you encounter any issues or bugs with the HarvardSites Drupal platform, please submit a ticket through the HUIT Service Desk.

Share website feedback

If you have ideas for how to improve the HarvardSites User Guide website, please submit your ideas using our website feedback form.

Design System How-To Guides

Practical guides and how-tos for using HarvardSites features to build engaging, effective websites that support your department’s goals.

AI Support chatbot

Try our new AI-powered support chatbot to answer questions about the Drupal platform.