Install Drush 8

You will need drush 8 and drush 7 to work with Drupal 8 and with Drupal 7.

This requires composer already installed.


mkdir ~/drush8
cd ~/drush8
composer require drush/drush:8.x

You may have drush 7 already installed. If not, then

mkdir ~/drush7
cd ~/drush7
composer require drush/drush:7.x


Update aliases

In .bash_aliases add

#alias drush7='~/drush7/vendor/bin/drush'
alias drush8='~/drush8/vendor/bin/drush'

Uncomment the drush7 alias if you need it.

and source your .bash_rc file

Share users in a Drupal subdomain but have different content

This article from Lullabot provides some clues on setting up a subdomain Drupal site that allows for a common logins between the main and the subordiniate sites.…

Note that the instructions for setting up the dastabase array to do this are in the settings.php file:

Adminimal CSS fixes

After a recent update to the Adminimal Drupal theme (Adminimal 7.x-1.25), some CSS issues arose. Put these CSS fixes in a CSS injector entry only for the Adminimal theme.


On some admin screens, the save buttons are too short. Box sizing is the culprint. Was content-box. Now is border-box. The latter is probably correct. But it breaks the layout.

Fixing a phone that had become unregistered

I accidentally plugged a powered headphone cable into my Moto e4+. I don't know how much power was on the cable but it was enough to cause my phone to lock up and then reboot.

Afterwards, it would not connect to the cell phone network. Text messages could be received but no calls in or out. The cell phone status indicator would cycle between connected and not connected. When "connected" calls would not go out.

Wifi was working fine.

When I checked with my cell phone service provider I saw my phone was included in the active and in the inactive lists. 


Subscribe to Front page feed