All my content

My favorite theming modules for Drupal 8

Submitted by gazza on Thu, 23/05/2019 - 17:48

The field formatter class module is a fantastic contributed module for custom theming Drupal 8 fields. It allows you to add classes to the outer HTML wrapper for any field display, so that CSS and Javascript can target them.

I find this particularly useful to theme different content type nodes using the same field types. https://www.drupal.org/project/field_formatter_class

How to change PHP CLI version for composer and plesk at the command line

Submitted by gazza on Thu, 23/05/2019 - 15:36

Below is the command line code for changing the default PHP version in Plesk. If you are using Plesk as I do on a number of VPS servers, even though you can change the php version inside the Plesk domain control panel, this does not change it at the command line.

I use Putty to connect to the command line. To connect your domain name in Plesk to the command line, you go to "Web hosting access" in the domain subscription type.

Here you will find the two important things.

1) A field with your "username" already filled in.

2) The IP address for the domain name

True love ways

Submitted by gazza on Mon, 11/03/2019 - 09:23

Our first attempt at True Love Ways sung by our Front lady Hannah with myself on guitar, Denise on bass and Craig on drums. You will have to excuse the quality, it was recorded on a phone and it cut out half way through!!