Recent publications

Custom content view (part 2) Arrea Systems Wed, 08/12/2020 - 10:00
custom view

 

In previous article, we have built a simple custom view from sales data. In this article we will show how to create a relationship with another table, add access control and a menu link. You can also watch the video with complete built.

 

Custom content view (part 1) Arrea Systems Mon, 08/03/2020 - 14:00
custom view

 

 

Views is an integrated function from Drupal which allows to build content views from available data. Content views are any filtered data display in a form of table, list or grid.

Technique to format html email (simplenews + swiftmailer + css) Arrea Systems Sat, 07/18/2020 - 10:00

 

If you use swiftmailer + simplenews, you may want to send html email with custom css.

To achieve that,you have to customise 2 twig templates.

The first template is the default template that is provided by swiftmailer: simplenews-newsletter-body.html.twig.

You can use this template to build your own email body with content you like to use. For example, in the template below, an hero image is inserted using table layout.

Jitsi in Drupal Arrea Systems Sun, 06/14/2020 - 17:00
Integration module of Jitsi video conferencing service. Allows to point to a Jitsi Meet server, start a new video session or join existing directly from a Drupal 8 site.
Drupal Landing Page - part 2 Arrea Systems Sun, 06/14/2020 - 17:00
There is no single way to build a simple landing page in Drupal, but multiple solutions. This is how we built ours. In this article we look at the custom module.
Drupal Landing Page - part 1 Arrea Systems Sun, 06/14/2020 - 17:00
There is no single way to build a simple landing page in Drupal, but multiple solutions. This is how we built ours. In this article we look at the first step: create a (very) basic theme.
Hook form with build validate and submit Arrea Systems Thu, 01/03/2019 - 16:18

Context

EK application has a module that store personal documents for user. When user account is deleted, those documents may be transferred to another account.

To achieve that, we need to alter the user account cancel form when building the form, validating and submitting it.

Let's review the 3 steps.

 

BUILD

The form before altering it looks like this

cancel user account before hook

We need to add a field to select another user account to which the document of the canceled account will be moved to.

To achieve that we Implements hook_form_alter() in MyModule.module:

Drupal 8 composer installation on EC2 with Ubuntu 18.04 LTS DA Fri, 09/21/2018 - 21:31
In this post we will share our experience with installing a Drupal 8 application on an Amazon EC2 server with latest Ubuntu 18.04 LTS. Installing Drupal with composer greatly simplify system maintenance and further update.

Usage of ClamAV in Drupal 8

This is an example of anti-virus implementation with an Ubuntu server.

Our back office management solution allows users to upload files in various sections of the application for storage or file sharing. For this reason, checking of files for virus is an important advantage.

We use the ClamAV module integration from Drupal 8.

 

1) Install ClamAV on Ubuntu

Installation on Ubuntu server is straight forward.  However, it is better to install with clamav-daemon clamav-freshclam options for later settings