umd_digital/umd_schoolwide_header

Provides a simple interface for adding the UMD Schoolwide Header to Drupal sites in the University of Maryland system.

Installs: 28 317

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 3

Open Issues: 0

Language:JavaScript

Type:drupal-module

11.5.0 2025-04-16 15:40 UTC

This package is auto-updated.

Last update: 2025-04-16 15:42:12 UTC


README

Introduction

Provides a simple interface for adding the UMD Schoolwide Header to Drupal sites in the University of Maryland system, following the approved University Header Guidelines as defined by the Maryland Brand.

This module was created by idfive for the University of Maryland.

Version

Please use the latest release for your version of drupal from the releases page, or simply use composer to manage.

Installation

Install as usual, see installing modules for further information.

This module can also be added to projects via composer, then enabled via drush, with something similar to the following:

  • composer require umd_digital/umd_schoolwide_header
  • drush en umd_schoolwide_header or enable via admin UI

Configuration

UMD Design Library

This module has been coded to attach the UMD design library to themes other than "UMD Terp". UMD Terp theme already loads this library, so it it is undesireable tyo load it twice.

Updating to v11x

  • The module previously relied on an embed code generated by the older version of the UMD header generator.
  • There were customizations present in code to hide/show specific links.
  • We have retained this code under "legacy" settings if they need to be referenced, however, all configuration options desired to the header will need to be set on the configuration page of this module.
  • When updating to v11x, sites will simply get the full header with all links, if no configuration chosen.

Possible Configuration Adjustments

  • Hide the Events link
  • Hide the News link
  • Hide the Admissions link
  • Hide the Make a Gift link
  • Hide Search

Troubleshooting

  • Legacy embed script has been kept, under "Depreciated", to assist in troubleshooting or checking previous settings.
  • Check for JS errors in console, and be sure to clear site caches.
  • Check for CSS conflicts with your theme.

Development

Update UMD Design System

  • cd umd_brand_static
  • nvm use, to standardize NPM in use.
  • npm update, to get a newer version of the UMD Header JS package.
  • npm run build