Tech articles

Drupal 8/9: Theme negotiation based on condition plugins

Sooner, the European Commission Drupal project I'm working on, will transition to a new theme. During the transition, some pages will be still displayed using the the old theme. I've looked around for a Drupal module that knows to render a certain page using a specific theme and found Switch Page Theme. The big impediment with this module is that it mainly checks the page path. And this is more or less hardcoded.

Effective form spam protection with Form Protect

Form Protect is released for Drupal 8 and 7

Form Protect is my first Drupal 8 module, even it's a tiny one. First I needed the module for a Drupal 7 client project. But after having the D7 module running, I felt that it's good opportunity to write my first Drupal 8 port.

ConTraffic Online Services

ConTraffic is a research project of the European Commission developed by the Joint Research Centre in collaboration with the European Antifraud Office and DG Taxation and Customs. ConTraffic provides information on container routes as well as risk assessment services to users from customs and security authorities.

Behat and Drupal Extension at first touch

I was really impressed, back in 2013, by Alexandru Badiu's (@voidberg) presentation on Behat delivered at Drupalcamp Târgu Mureș. This year, Konstantin Kudryashov (@everzet), the guy behind Behat, Mink & phpspec2, had its own presentation at Drupalcon Amsterdam. And it was again — Wow, wow! Since then I never found the right time to play and experiment with Behat until I got stuck in providing a tested UI for a site having very complex frontend/jQuery requirements. And for me that was the right time for Behat :)

Car Quiz — Skills For The Future

Skills for the Future Car Quiz website has been designed in Drupal 7. The site allows users to follow and fill a quiz wizard.

Installing Oracle SQL*Plus client on Ubuntu

Problem

You need to connect with sqlplus command line tool to your Oracle database but there are no binaries packages available for Debian/Ubuntu.

Solution

Convert and install from Oracle Instantclient RPM files. If case, tune your installation to correctlly access the Oracle client libraries.

Park your old Drupal site

This writeup is heavily based on Karen Stevenson (KarenS) blog post Sending a Drupal Site Into Retirement. The reason for writing this post was to keep a Webikon.com reference, facing the requirement to archive several sites and make them static. True, there are also some small differences.

Secure Drupal files with fsniper

Keeping file system with secure permissions has been always a critical task when it comes to administer a webserver. Not every time files uploaded via the webserver are saved with the correct permissions. Running a cron job to fix them could be a solution but how to deal with the case when an attacker can very quick exploit files wrong set permissions?

YouRock.jobs — a free, multi-language, employability networking tool

YouRock is a free, multi-language, employability networking tool, created to show that young people have a range of work skills often hidden in the things they do every day and to give them the language of employers to describe those skills. We used the flexibility and power of Drupal 7 to build this very nice project.

Skills For the Future

Hyundai Motor Company and Junior Achievement-Young Enterprise Europe are partnering to promote greater understanding and awareness among young people about Science, Technology, Engineering and Math (STEM) skills, entrepreneurship and the skills for their future employability.

Pages