Focal Point

Focal Point allows you to specify the portion of an image that is most important. This information can be used when the image is cropped or cropped and scaled so that you don't, for example, end up with an image that cuts off the subject's head.

Field as Block

Field as Block provides an easy way to display one or more fields of the current node in a block.

This module aims to be a light weight alternative to modules like Panels and Display Suite, or using Views to define a block which only retrieves one field.

Google Tag

This project integrates the site with the Google Tag Manager (GTM) application. GTM allows you to deploy analytics and measurement tag configurations from a web-based user interface (hosted by Google) instead of requiring administrative access to your website.

To use the module, sign up for GTM and obtain a "container ID" for your website. For development purposes, create a GTM environment for your website.

vi global replace

To perform a global search and replace in vi, use the 'search and replace' command:

:%s/search_string/replacement_string/g

The %s is a shortcut that tells vi to search all lines of the file for search_string and change it to replacement_string. The global (g) flag at the end of the command tells vi to replace all instances of the search_string.

If you wish to confirm each replacement, add the confirm (c) flag after the global flag.

Devel Kint Extras

This module offers to display methods and statics available for an object when using Kint. It was created because the Devel module maintainers decided to remove the Kint plugins responsible for showing object available methods and static class properties in version 3.0 of the module (the relevant issue).

Devel

August 2022

  • A new Devel 5 is available. It is the recommended release for Drupal 9 and 10. The webprofiler submodule was moved from Devel to WebProfiler project
  • Devel 4 (and prior branches) are now minimally supported.

File (Field) Paths

Note, originally we wanted to use this with Media image and token: [node:content-type].  However, this is not possible as the media image is not limited to a specific content type.  However, in this case it does enable the 'media directories' module to be referenced by token.

The File (Field) Paths module extends the default functionality of Drupal's core File module, Image module and many other File upload modules, by adding the ability to use entity based tokens in destination paths and file names.