Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

ajax_dashboard

4 sites Security covered
View on drupal.org

AJAX Dashboard is a simple dashboard construction module, which allows developers to build AJAX-powered dashboards using a YAML configuration and a selection of plugins.

Using this module requires some code editing, and familiarity with YAML at minimum. This will enable you to embed Views into a dashboard, and use the Constant plugin to generate simple HTML pages. More advanced developers may also use the @AJAXDashboardButton annotation plugin to create custom single page applications.

How to Use it

Out-of-the-box Features

The module provides, out of the box, the AJAXDashboard class for generating dashboards, and a plugin system for custom controls (AJAXDashboardControl) and buttons (AJAXDashboardButton). The module also provides two hooks for pre- and post-processing of configuration, to ease programmatic construction of a dashboard.

Dashboard Controls

  • Button List: List of buttons

Dashboard Buttons

  • Constant: Constant HTML Markup
  • Processed Text: Render HTML in a text format.
  • Render Array: Drupal Render Array (combine with an entity view builder to render entities)
  • Redirect: Instead of showing content, redirect to a URL.

AJAX Dashboard Views

This module allows you to embed Views into a dashboard.

AJAX Dashboard Entity Dashboard

This module allows you to embed a configurable dashboard onto any entity. It will appear as a field in the "Manage Display" area for your entity, and the dashboard will be passed the following parameters:

  • entity: Entity ID
  • entity_type: Entity Type
  • bundle: Entity Bundle
  • user: ID of the current user

The Flashpoint Education module (as of 2.0.0-alpha1) uses an Entity Dashboard and the post-processing hook to create course navigation for its courses.

Developer Examples

The AJAX Dashboard Example module comes with example user dashboards that demonstrates every template, styling, and plugin feature of the module. This module is especially helpful as a reference for setting up configurations.

Future Development

We have a few features in mind for this module's future, and would be glad to discuss further in the issue queue:

  1. Embed entities into a dashboard
  2. Create a "dashboard editor" so that site builders may create dashboards.
  3. Convert controls to use an annotation plugin, so that a developer may programmatically create buttons.
  4. Provide extended documentation and examples of adding extra AJAX commands in order to add additional features into a dashboard
  5. Generate AJAX Dashboard links in a view, such that a view could allow you to generate a list of links to reports. For example, a table of user rankings, in which you can click to AJAX-load a list of activities that went into the ranking.

Activity

Total releases
2
First release
Feb 2025
Latest release
1 month ago
Release cadence
386 days
Stability
100% stable

Releases

Version Type Release date
3.1.0 Stable Mar 4, 2026
3.0.9 Stable Feb 11, 2025