How to embed a Google Photo album into your site using an animation
This article is addressed to orphans of Picasa Web Album and its practical function to put an album slideshow in a web page, not to mention the useful filter for Drupal and CKEditor that with a special tag allowed you to embed a specified album without using HTML. Google Photo has replaced this service and does not allow it anymore, but with several steps you can create an animation that can be easily embedded. Let's see how.
A tag cloud ordered by weight for Drupal using Views and Taxonomy
Last week I changed my default view for cloud tag with a new one that orders the taxonomy terms based on their weight. In other words, I sort them not into alphabetical order but into how many times a tag has been used in my articles. I post the code for the new View and the new style properties for the CSS of the default theme used in Drupal.
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.
Mobilegeddon? No problem with Responsive Bartik on Drupal 7.x
In the last week there were a lot of articles about the new mobile-friendly ranking algorithm introduced on 21 April by Google, followed by an incredible hysteria about this topic, known as Mobilegeddon. I don’t understand where is the problem: a responsive website is the best compromise because adapts itself according to the display size and today is easily to reach (many site have solved it since a long while).
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.
Related Content in Drupal 7 using Views
After some boring tests and three different types of tutorial that have never been able to work on my site, finally I have found the best compromise for me: a related content based on the taxonomy and placed as a block above the comments field. Here is my Views settings and how to insert the resulting block directly in the node.tpl.php template file.
In my opinion Similar/Relevant content is an appropriate manner for highlighting and linking the own posts. At the same time is a trick for increasing the permanence of visitors in my site!
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).
Slideshow of the last articles with Views
I completed my home page with a slideshow of the last articles, creating a new type of content for this goal and putting inside only the ones I want to do appear in that rotating box. Next I put them in a Views.