Indiana University Paragraphs

Component ID

2925633

Component name

Indiana University Paragraphs

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

56

Component created

Component changed

Component body

Paragraphs for Indiana University

This module provides custom Paragraph types for building complex pages comprised of elements from the IU Pattern Library like section, grids, and chunks that conform to the design standards in the IU Web Style Guide.

This module should be used in combination with the IU Drupal Theme.

Supported widgets

Paragraph types currently available with this module include:

Complex IU Chunk Layout

Roadmap

The following widgets still need to be implemented to completely support the IU Framework:

Contrib Dependencies

Installation

  1. Download and enable the module and its contrib dependencies (see above).
  2. Open Admin > Structure > Content types > Basic Page > Manage fields.
  3. Add a field named Sections of type Paragraph (aka Entity Reference Revision); For Reference Type, include only the Section type;
  4. We recommend the Paragraphs Experimental field widget for Form Display.
  5. Ensure your Sections field and node type display is configured in an Edge-to-edge layout. See Layout settings on the Manage display tab of your content type. (Field Layout and Layout Discovery modules must be enabled). We recommend leveraging the IU Page Layout from the IU theme for your field layouts. This custom layout provides two regions: Constrained and Edge-to-edge. Place the Body field in the Constrained region and the Sections field in the Edge-to-edge region. An alternative approach would be to use the Page Manager module to handle field layouts, but Page Manager is outside the scope of this instruction manual.
  6. Ensure your theme is configured to display the Main page content in a region that spans the width of the screen (aka, edge-to-edge). We recommend using the IU theme which contains appropriately labeled regions to support both edge-to-edge (for node pages) and constrained for non-node page content. The theme comes preloaded upon installation with two Main page content blocks; one for node pages and one for non-node pages. The Main page content block for nodes is placed in the IU theme's Edge-to-edge region, while non-node Main page content block is in the standard Content region which has a constrained maximum width.

Credits

Special thanks to Paragraphs Pack and Bootstrap Paragraphs, both of which provided the initial code from which this module was forked.