Exit pop up: a module for Drupal 8 to convert the exiting users of your site
EU Cookie Compliance for D8 introduces the GDPR but with some inconveniences
By updating the EU Cookie Compliance module for my site in Drupal 8, I had to change some settings and review the translations because not everything worked well, above all the black area in the top when the info banner disappeared. Let's see how this can be remedied in a few steps.
The benefit of drupal_is_front_page function an example
Thanks to this function I could re-activate the last version of MathJax module that gave me a lot of problem only in the front page of my Drupal 7 website. In the post I will describe how I have fixed this issue using the drupal_is_front_page() function with a few lines of PHP.
Iframe tags in TinyMCE editor and Drupal 7.x
TinyMCE is a fantastic WYSIWYG editor available also for Drupal 7.x, but it does not support the iframe tag, or in a simple word if you try to embed a video, map, or an external web page you can see HTML code magically disappear. Fortunately the WYSIWYG IFrames module solves completely the problem and with a fix it is possible to maintain the allowfullscreen feature of the YouTube videos. Here is a few instructions and a screencast that simplify the whole process.
Directive on Privacy in Drupal 7.x
I would have liked to use an amazing title like “Different Countries need different privacy rules”, but it could have been wrong and not summarized the content of this article. After all the Directive 2002/58/EC and 2009/136/EC are not only related to UK but also to the whole European Community. Go ahead and you will find some descriptions about the Drupal modules that can help you to deal with this EU Directive on Privacy and Electronic Communications.
Patch & module to stop spambots in Drupal 7
Recently I have been testing a patch for the captcha module and a custom module to ban temporarly the spambots that usually attack my Drupal 7 website. The results could be promising. Here is my provisional solution.
Strategies adopted to stop spam in D7 (1st)
In my opinion a big problem for the 2.0 websites are the spambots, annoying programs designed to invade your web forms with a lot of spam. After multiple attempts, I have found a nice compromised that it helps me to reduce this phenomenon, saving my bandwidth. Below I explain the Drupal 7 modules which I installed and some settings. At present I haven't totally erased these attacks but I am studying a new approach to block them (in a next article if I'll solve some essays).
Hierarchic menu in Drupal with tags & Views
In this article I will explain you how to use relationship tags, in order to create a block with Views that contains a hierarchic menu. I also made a custom module to show only the correct localized and language neutral tags.
MathJax and MathML in my Drupal site
When I was planning my site, one of many problems I had, was insertion of mathematical equations in my articles, but I found very soon in MathJax a useful solution. Some time after I discovered another method: MathML, even a recommendation of the W3C math working group! Here there are some personal considerations on them: about usability and convenience in my Drupal experience.