Modules

Modules add functionality and customize your Drupal application.

Find more information about modules included in The College Drupal Distribution below.

ASU CLAS

Provides a collection of CLAS specific hooks for a webform submission. webform_create hook: Requires unit specific _admin and _view roles to be created to manage grouping webforms by unit.

forms.thecollege.asu.edu new unit setup:

  • Create UNIT_admin and UNIT_viewer roles
  • Replicate permissions from _admin and _viewer, allow _admin to assign _viewer to users
  • Assign relevant example forms to new units: Settings > Access > Administer webform
    • Example: Style Guide
    • Example: Variant: A/B test
    • Example: Variant: Segments
    • Example: Variant: Segments
    • Example: Webform Handler
    • Example: Wizard
    • Example: Computed
    • Example: Computed Ajax
    • Example: Elements: Condition Logic
    • Example: Flexbox layout
    • Example: Input Masks

Automatically builds a jump link menu using the heading field of each row on your page. No user configuration needed.

SEO/Marketing

Drupal.org documentation

The XML sitemap module creates a sitemap that helps search engines to more intelligently crawl a website and keep their results up to date. The sitemap created by the module can be automatically submitted to search engines. The module also comes with several sub-modules that can add sitemap links for content, menu items, taxonomy terms, and user profiles.

How to use:

This module needs to be installed manually after a site is created.

From the admin menu, click "Extend", scroll to the XML Sitemap section, select, then click install. Install "XML Sitemap Engines" as well for automatic submission of the xml file to search engines.

Once XML Sitemap is installed and enabled, you can adjust the settings for your site's sitemap at admin/config/search/xmlsitemap. Your can view your site's sitemap at yoursite.edu/sitemap.xml.

Retroactively including content, menu items, taxonomy, and profiles in your sitemap

If you install XML sitemap on a site that already includes content, you will need to update sitemap settings so the previously created content can be included, then rebuild the sitemap.

  1. Navigate to admin/config/search/xmlsitemap/entities/settings
  2. Set default values for content to be included, include all content types relevant to your siteImage Placeholder
  3. Navigate to admin/config/search/xmlsitemap/rebuild
  4. Click the "Rebuild Sitemap" button
  5. visit your sitemap at /sitemap.xml to verify it exists and looks correct.

 Modify behavior and appearance of external links.

  • Allows external links to open in new window
  • Append an icon to the end of a link to indicate to the user an external link:  

User management

Access restriction features from Permissions by Term module

Frontend Features

  • Restricts users from access to forbidden nodes in menus, search and views. The nodes will not be listed and are restricted from node view.
  • Restricted nodes in multiple languages. Drupal's Content Translation module is supported.

Administrator/Editor Backend Features

  • Editors can use allowed taxonomy terms only, while editing nodes.
  • Editors can edit nodes, which are related to allowed taxonomy terms.
  • If single term restriction is enabled via configuration, users must have access to all related taxonomy terms, to access nodes. Otherwise access is granted, until they have access to only 1 related taxonomy term.
  • Disallows users with administrative permissions by their role and/or user account to select taxonomy terms on the node edit form, for which they don't have access.
  • To edit a certain node, users must have access to the related taxonomy term.
  • Permissions by Term uses the object from the \Drupal\Core\Database\Connection namespace for database connections. Therefore it is tested to work not only with MySQL, but works also with all DBMs which Drupal is supporting. E.g. SQLite (good for quick local testing).

Views

Views infinite scroll allows you to load and display pages of any view inline, using AJAX (this has been called infinite scrolling, load more, autopaging, endless pages and more). The pager can be triggered with the press of a button or automatically as the user scrolls to the bottom of the view's content.

  • Works with AJAX exposed filters.
  • Can be enabled on any view

Views Infinite Scroll requires "Use AJAX" Option to be set as "YES" under Advanced Option in your view!