Back to top

Articles

Grouping by multiple Fields in Drupal Views

Articles grouped by Custom text in Drupal Views

Grouping in Views is useful when there are many items in the results that share the same value of a field. But often times there is more than one field in common and it's useful to group by all those fields and excluding them from the results so they aren't repeated needlessly.

Custom text field method is the best method to control the output when grouping by multiple fields in Drupal Views.

Published in Drupal.

Install Drupal 8 on Ubuntu 14.04 LTS

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.

Install Drupal 8 on Ubuntu 14.04 LTS

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.

User Flags (Follow) in Drupal 8

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.

How to bulk delete files responsibly

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.

Pages