You are here

Learn about the paragraph module types available in the Energy.gov Drupal content management system (CMS) for Office of Energy Efficiency and Renewable Energy (EERE) websites.

Paragraph modules are an integral part of the Drupal CMS. CMS users can choose from several predefined paragraph modules to place content on a page, article, or homepage. Paragraphs can't be reused on other pages. Unlike blocks, the paragraph modules must be recreated on each page.

To apply paragraphs to a page, create a new page or open an existing one and scroll down to the new "body" field. Click the icons to select the desired paragraph type. You can drag and rearrange paragraphs. 

Block Reference

  • Only used for the following blocks: event listings, JavaScript blocks, and Silverpop forms
  • Usually used for MailChimp and GovDelivery subscription blocks
  • Includes several layout options, including: align left, align right, breakout left, breakout right, and center full

Container

  • Can group together header, image, and rich text paragraphs
  • Includes several layout styles, including: align left, align right, breakout center full width, breakout float left, breakout left full width, breakout float right, and breakout right full width

Data Table

  • Allows users to create table using a CSV file

Dynamic Listing

  • Searches for the title of listing nodes for existing CMS content
  • Shows up to 10 items
  • Often used to list news and blog pages
  • Can be displayed in either a horizontal or vertical orientation
  • Includes several styles:
    • Image, Title, and Summary
    • Title Only
    • Title and Summary
    • Title, Summary, and Date
    • Title, Summary, Image, and Date
    • Title and Image

Featured Item

  • Features a piece of content within a node

Full Rich Text

  • Used to enter prose or formatted text
  • Replaces the "body text" field that was used in previous Energy.gov CMS layouts
  • Includes the option to use bullets, lists, tables, or links

Heading

  • Used for titles or section names
  • Allows you to select the desired level for a heading: section heading, subsection heading, or subsection subheading
  • Includes the option to link

Homepage Featured Item

  • Replaces the "hero rotator" that was used in previous Energy.gov CMS layouts
  • When used on a nested group's homepage, this paragraph has the ability to feature up to 4 items in the featured area
  • Allows you to select one high resolution image to feature
  • Allows you to add up to four node IDs to the feature
  • Displays titles up to 150 characters
  • Has two color options: light foreground over dark background (with white text) or dark farground over light background (with gray text)

Image

  • Allows the addition of an image with a caption, title, and attribution
  • Alt text is required and must be at least 20 characters long
  • Includes the ability to link images

Multi-Column

  • Replaces the "two-column" content type that was used in previous Energy.gov CMS layouts
  • Used to show an image alongside rich text
  • Includes several layout options, including:
    • Emphasis Left: the left column is wider than the right column
    • Emphasis Right: the right column is wider than the left column
    • None: a 50/50 split between the two columns

Photo Gallery

  • Requires an entity reference field
  • Usually associated with Flickr albums

Rich Text

  • Used for plain text content
  • Does not include bullets, tables, tabs, or other formatting options
  • Includes the option to link

Simple List

  • Used to create numbered or bulleted lists
  • Items can be linked

Static Listing

  • Allows you to list existing pages in the CMS, like download pages or contributor pages
  • Allows you to select either horizontal or vertical orientation
  • Includes several styles:
    • Image, Title, and Summary
    • Title Only
    • Title and Summary
    • Title, Summary, and Date
    • Title, Summary, Image, and Date
    • Title and Image

YouTube

  • Features a video
  • Is available to use in multi-column paragraph