Skip to main content

Get active trails in expanded menu

On one drupal site, I use a multilevel menu as the main menu and set it to 'expand all' in the menu block settings. I don't know, if this is the usual behaviour - but with this setup I  loose the active trails indicator on the menu array in twig. It took some while to find a solution for this problem ...

Drupal, fast dump

During development, it's comfortable to have a command in bash history to create a quick development dump:

Update php cli version

I've recently updated my php and found, that the settings for apache did not match the php cli version. I had to set the cli version with the following procedure:

IrfanView with wine

To get the latest 64bit Version of IrfanView running on Ubuntu with wine, without snap - do the following:

winetricks mfc42

Background Videos

Create your videos from filmclips, photos, with title clips and effects with kdenlive.

Do video compression with ffmpeg:

Create phpmyadmin local instance

wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip -O phpmyadmin.zip

unzip phpmyadmin.zip && rm phpmyadmin.zip

Install drush globally

sudo git clone https://github.com/drush-ops/drush.git /usr/local/src/drush

cd /usr/local/src/drush

Subscribe to