Tips and Tricks: Modules

Use the Drupal module "jQuery AJAX Load" for a quick and easy AJAX integration

Drupal jQuery AJAX Load

jQuery AJAX Load is an helper module for easy loading any content using build in jQuery load function. It allows you for a quick and easy Ajax integration.

Just enable the module and add class .jquey_ajax_load to any link, URL content (without other regions) will be loaded on #jquery_ajax_load_target element. Those classes and id could be personalized to your needs. Target element coould be set on a per-link basis using the data-target attribute to define a valid jQuery ID.

Trobleshooting computed field with Drupal 8 (Drupal core 8.3.2; May 2017)

Drupal Computed field
  • 8.x-1.0-alpha1 does not work with Drupal core 8.3.2 (you'll get unexpected errors) >> Choose 8.x-2.x-dev
  • Computed fields don't display on content types which existed prior the module is installed >> Create a new content type and everything works smoothly

Important: The field only updates when the node is saved (Cron, clear cache and similar not enough)

The handy Drupal 8 module "Quick Node Clone" allows you to clone nodes easily

Clone

Are you looking for the successor of Node clone?

The Drupal 8 Quick Clone module works very similar as the Drupal 7 Node Clone module. The quick clone module allows users to make a copy of an existing item of site content (a node) and then edit that copy. Doing so the authorship is set to the current user and the menu and url aliases are reset.

Pages

Drupal themes to be compared