How to zip a file using command (cmd) line?
This short guide explains to you how to extract/unzip .zip archive files to a specific or different directory in Linux.
Install zip
sudo apt-get install zip
Zip a directory
Zip your folder:
zip -r {filename.zip} {directory}
Unzip
unzip {filename.zip}
Drupal - how to increase the maximum file upload size?
By default the maximum file upload size is set to 2MB. It is not a Drupal issue, instead a php issue as upload_max_filesize is set in your php configuration (php.ini file). Therefore it is a server-side configuration.
Drupal watchdog
Creating a message log using Drupal watchdog.
Simple log
// Logs a notice
\Drupal::logger('my_module')->notice($message);
// Logs an error
\Drupal::logger('my_module')->error($message);
Adding a layer of complexity to the log
public function submitForm(array &$form, FormStateInterface $form_state) {
$entity = $this->getEntity();
$entity->delete();
Drupal instance of Drupal \ path_alias \ AliasManager given
I'm receiving an error with a path of Drupal\path_alias\AliasManager
Upgrading to Drupal 9, I was running a test to see which blocks and/or modules would fail. And there were plenty... like this AliasManager error
Acy Mailing 5 sending a newsletter
In this article, you will learn how to send a newsletter using Acy Mailing 5.
Access to Acy Mailing 5
This is screen accessible via the administration area: Select Components → Acy Mailing 5 → Newsletters from the drop-down menus.
Acy Mailing 5 managing a newsletter statistics
In this article, I'll show you how to review a newsletter's statistics for newsletters sent with Acy Mailing 5.
Acy Mailing 5 managing a newsletter template
In this article, you will learn how to update a newsletter template using Acy Mailing 5.
Access to Acy Mailing 5
This is screen accessible via the administration area: Select Components → Acy Mailing 5 → Templates from the drop-down menus.
Manage a newsletter template
The current website's newsletter template list:
Acy Mailing 5 editing a newsletter
In this article, I'll show you how to edit an unsent Acy Mailing 5 newsletter.
Access to Acy Mailing 5
This screen is accessible via the administration area: Select Components → Acy Mailing 5 → Newsletters from the drop-down menus.
How to install htop on macOS desktop running on MacBook
I prefer htop over top on my Linux server. Running a Solr index got me thinking how can I install htop on macOS Big Sur 11.4 based MacBook pro?
Acy Mailing 5 creating a newsletter
In this article, I'll show you how to create a new an Acy Mailing 5 newsletter.
Access to Acy Mailing 5
This screen is accessible via the administration area: Select Components → Acy Mailing 5 → Newsletters from the drop-down menus.