Blog

Video of my speech at the Drupalcamp Spain 2012 (in spanish)

 Video of my speech "Principles of design for people who doesn't design" (in spanish), at the Drupalcamp Spain 2012, hosted in Madrid.

Click here to see the slides the slides on Slideshare.

Drupal 7 and SEO: tools of the trade

Drupal community provides developers and site builders with some nice tools for SEO. You'll have to invest some time to get results anyway, but the hard part, developing the tools, is done. This is a list of the modules and features you can use:

Meta tags

In order to manually add meta tags to our content, just install Metatag module. Drupal 7 version is still alpha but moving on. Slowly, but moving.

http://drupal.org/project/metatag

Embedding Vimeo videos and mobile devices: a solution in jQuery

At the moment of writing this, VIMEO video embedding doesn’t work properly for mobile devices. Until a solution is provided, i worked on a solution for this.

This is what my solution does: via jQuery, it detects mobile devices, and replaces the embedded Vimeo video player by the appropiate link to the Vimeo website for mobile phones. In three easy steps:

ImpressCMS: Creating a fully templated response to an AJAX call. A practical example.

 Giving a response to an AJAX call is actually quite easy. The server receives a request, the server returns something. End.

Now, imagine you don't just want a response, you want to give a response that goes through all the ImpressCMS process, including the template engine. Permissions, Protector, Custom tags, Smarty, everything. A bit more difficult, but not too much.

ImpressCMS: How to theme just ONE block

 It can happen to you. You need one block to be different from the others. And I mean “different”, you know what I mean? It needs a big fat lot of exclusive CSS just for itself.

You need a way to point your CSS just to this block.

How to add a warning message to your Drupal site the easy way

 You know, you can close a Drupal site anytime for maintenance, don't you? You just go to "Administration -> Site configuration -> Site maintenance" and deactivate the site. From this moment on, no-one can see your website while you're working at it.

How to lose a customer in three easy steps: my experience with Archos

This is my experience with an Archos product and most important, with its customer service here in Spain. The experience has convinced me not to buy, and recommend people not to buy, any Archos product.

Update: Three months later, still no response from Archos. I contacted the Spanish Consumer Agency and filled a claim.

Update: I contacted the European Consumer Agency, and at last I got my unit repaired. I just needed seven months and a complain to the European Union. Awesome.

ImpressCMS: How I hacked Content module so it could accept image uploading

Our little Content module is an essential in any CMS. It’s a simple, fool-proof way to publish static pages such as “about us”, “copyright information” or stuff like that. You put a title, you have a big box for text and you’re done.

Now imagine you want to spice some of your pages with an image. You can add them to the text, using the included image manager. You insert the image, place it where you want, resize them when needed. Repeat for every page.

10 things designers should know before designing for the web

Many designers are currently moving from print to web these days. Of those many, a big part decide to focus on design and pay someone to make the HTML+CSS coding part. While this sounds like a wise strategy that let designers focus on what they do best, if they don’t bother to learn the limits of the web, they’ll soon pay the price with interests. Without realising it, they boycott themselves too often, making things harder to code. That means more time, more problems and probably a higher price on the coding side.

Smarty ordinal suffix modifier plugin

 This Smarty modifier plugin adds ordinal suffix to a number, so 1 becomes 1st, 15 becomes 15th and so on.

Specially useful for dates formatting in english.