Skip to main content
Back to top

Articles

No articles found!

Drupal 8 on Ubuntu 14.04 LTS with PHP 7.1

Ubuntu 14.04 LTS was released in April 2014, and its end of life date is April of 2019. To all those who are still using it this gives you roughly 8 months during which an upgrade is to be performed.

In case you want to install Drupal 8 before you get around upgrading the OS you'll have to update some packages because Ubuntu 14.04 doesn't satisfy all the requirements.

Published in Drupal, Linux on .

Drupal 8 on Ubuntu 14.04 LTS with PHP 7.1

Ubuntu 14.04 LTS was released in April 2014, and its end of life date is April of 2019. To all those who are still using it this gives you roughly 8 months during which an upgrade is to be performed.

In case you want to install Drupal 8 before you get around upgrading the OS you'll have to update some packages because Ubuntu 14.04 doesn't satisfy all the requirements.

Published in Drupal, Linux on .

Follow a user Flag in action—Drupal 8

Flag module can be used to mark users in a Drupal project. Flags can be activated globally (where the flag status is the same for everyone) or personally where each user can control their own flag preference for another user.

The most common use of user Flags is to create lists of Followers. Users can add others to their Interests list, and have Followers who are interested in what they create on the site.

This article shows how to configure a Follow flag and create Views lists of Interests and Followers to be added to user Profile pages.

Published in Drupal on .

Linux find command to bulk delete files responsibly

One badly constructed command that intends to delete files from a folder can cost you your entire hard disk. It's not a nice place to be in. But there are steps you can take to mitigate the risks.

Finding the right command that deletes the files is only half the trick. These things are so dangerous you need to add some sensible protection so they can't be misused, no matter how focused and aware you are when executing the command.

This article gathers a comprehensive list of strategies and checks that can help prevent disasters when bulk deleting files. The examples rely on the find command, but the principles can be carried over to other commands.

Published in Linux on .

MySQL folder on linux storing data

Accidents happen. Accidents can raid your backup storage, production and other site versions. You can accidentally forget to set up regular backups (ò_ô). Whatever adversity hits you sometimes you have to face the difficult situation of having only raw mysql folder from a hard drive to show for your data, and no healthy database export.

Luckily there is a way to recover the data if you know the steps and you're careful enough. This article documents this process.

Published in Drupal, Linux on .

MySQL folder on linux storing data

Accidents happen. Accidents can raid your backup storage, production and other site versions. You can accidentally forget to set up regular backups (ò_ô). Whatever adversity hits you sometimes you have to face the difficult situation of having only raw mysql folder from a hard drive to show for your data, and no healthy database export.

Luckily there is a way to recover the data if you know the steps and you're careful enough. This article documents this process.

Published in Drupal, Linux on .

Date Popup Views Exposed Filter for Drupal 8

The default Views Exposed Filter format for Date fields (for example the Authored on field) leaves a lot to be desired in terms of usability.

This can be greatly improved with one of two additional modules—Better Exposed Filters if you're already using it for other parts of your site, or Date Popup for a superior experience.

Published in Drupal on .

Related content sorted by Relevance

Many websites are tagging their content with more than one category term. Listing other content marked with the same term is a very common task in Drupal. But with a multi-valued field storing more than one Category on a single article things are a bit more complicated.

Complexity increases with the request to sort the list by relevancy, showing the most relevant related content on top of the list (the articles that share more of the same tags).

This article lists the steps in Drupal 8 Views to create a list of related content titles sorted by the number of tags shared with the content currently viewed.

Published in Drupal on .

Bookmark content–Flag module in Drupal 8

Flags are as useful as ever in Drupal 8. This article lists the most common configuration steps to get the complete Bookmarks Flags feature set in your Drupal site.

Published in Drupal on .

Drupal messages–Status, Warning and Error

Not every Drupal project will have all the Drupal-specific elements, but it's good to go through the check-list and make sure you haven't missed any elements to style when creating a new Drupal theme.

Published in Drupal on .