Reusable Modules


Newsletter, Support Us & On Our Social Networks

The newsletter, support us, and social conversation modules appear on multiple pages throughout the website. Content for each of these is controlled/updated in one place, under Globals in Craft, then that content is distributed across the site to where the modules appear. Inclusion of these modules on a particular page is hard-coded into the back-end twig templates.

The newsletter call to action requires a subtitle, short description, and call to action text and URL. This module appears on:

  • Homepage
  • About
  • Support Us
  • Ideas & Papers
  • Grants & Research Programs

The support us call to action requires a subtitle, short description, and call to action text and URL. This module appears on:

  • Homepage
  • Grants & Research Programs
  • Events
  • Education

On our social networks requires you to select a social media icon (Twitter or Facebook), subtitle (e.g. “On Twitter”), short description (what you’re discussing), and call to action (text, social URL, and selected offsite checkbox). This module appears on:

  • Ideas & Papers
  • Grants & Research Programs
  • Community
  • YSI

Tooltips

Tooltips can be used to surface help text or to define terms out of the context of the main body you’re writing. Tooltips can be added to any text in the WYSIWYG field (though we recommend restraining to text outside of headings).

To add a tooltip in a text block:

  • Select the html (< >) button in the upper left corner.
  • Find the text you’d like to serve as your trigger. Surround that text with: <abbr class="tooltip" title="">Trigger text</abbr>
  • Then, within the quotation marks in title="", enter the text you’d like to appear within the tooltip pop-up.
  • As an example from the screenshot above: global economy