Articles

Drupalcamp 2011 in Verona, see you there!

Today we're off to Verona, for the 2011 Drupalcamp!

See you there for two days of sessions, talks and a morning of free training for beginners taught by volunteers including yours truly.

Get all the info from http://verona2011.drupalcamp.it/en

mark the date: Drupalcamp in Torino on October 2nd

The italian Drupal association is organizing the second Drupalcamp in Italy, and this time it will be in my hometown Torino.

The interest around the Drupal platform is definitely on the rise around here, and this will be a great chance to learn new stuff and put faces to nicknames.

The voting is open on the proposed sessions, and the one i put in will be about how to manage a Drupal project with git as versioning control and Trac as ticketing system to keep your sanity and deliver the good stuff on time!

So, see you there on october 2nd!

Tip: never call a drupal theme and a drupal module the same!

in

When developing a Drupal site, it's quite common to have at least one custom module with some overrides and settings. It's quite tempting to call it with the same name of the project.

It is also quite common to have a custom theme, maybe a zen or fusion subtheme, or a renamed version of basic. You might think it's a good Idea to call your theme again with the same name.

Well, don't! It will cause all sorts of weird problems. The most common being that your custom blocks won't show up. (also, some kittens will suffer and die).

So, never call a drupal theme and a drupal module the same way!

Drupal checklist before launch

If you use Drupal for pleasure or work, you need to have a look at this excellent checklist website.

Originally based on a similar project for the symphony framework, Drupal Check will guide you through the delicate process of releasing the fruit of your labour into the wild wild web.

Apart from some rather obvious things (delete dummy content, don't write stupid or embarassing dummy text), there are some very precious and not so well known tips.

And, It's managed as a social project, so you can register, log-in and share your Drupal wisdom with the masses.

5 Drupal modules that just make sense and you should install right away

Drupal is great, flexible, extensible, elegant (most of the time), delicious! But, sometimes it's also obnoxious, wierd, obscure, purely annoying.

Of course, the great strength of this CMS lies in the modules. And so lots of people around the world wrote essential modules to help round the sharp edges and minor annoyances that you, especially if you're new to Drupal will surely meet.

So, here's a list of the most useful modules you should just install right away to make your drupal experience so much better from the start.

In this list I won't talk about the usual and most famous ones, like pathauto, imagecache, views or cck. You should already know them. Don't you? :-)

Instead I will focus on the least known tiny modules that you might have missed, and I have found after hours of hopeful googling.

So, let's start.

404 blocks

get it here: http://drupal.org/project/blocks404

With a standard drupal installation, when your users hit a non-existing link, they get a nice 404 message from drupal. Nice. But, this page is stripped of all navigation elements and blocks. So, not very helpful. And wierd.

This tiny module will fix this, and your blocks will be there so that your users can find their way home. Easy!

Comment Notify

get it here: http://drupal.org/project/comment_notify

Allows registered and anonymous users to be notified of new comments on articles or posts (nodes). This is a must if you want your users to come back to your site (and you do).

External Links

get if here: http://drupal.org/project/extlink

It will help distinguish internal links from external ones. You can choose to open all external links in a new window (a bit rude, but still useful).

Read More Tweak

get it here: http://drupal.org/project/ed_readmore

Allows you to move the "read more" link at the end of the teaser of a node. This has been bothering me for years. Very tiny and effective module!

Vertical Tabs

get it here: http://drupal.org/project/vertical_tabs

A great improvement for the node editing form. Try it and you'll understand.

That's all for now, I'll keep you posted of my new findings as they happen. Good night! :-)

Better, mac-like font display in Ubuntu

I try to use open-source software as much as possible in my work as a developer and web designer: Gimp, Inkscape, Scribus, Openoffice, and of course Drupal. My main operating system has been Ubuntu for a long time, and it's whay I use on my trusty desktop PC.

On the side, almost as a guilty pleasure, I have a mac laptop: the linux experience (or windows, for that matter) is just not yet good enough to beat the neatness of a nice macintosh notebook (silence, sleep, portability). Plus, these days with tools like virtualbox, I can have my ubuntu fix on the move as well and it works just great.

One area which I've always found a bit lacking in Linux is the way fonts are rendered.

Even after the well known installation of the msttcorefonts package:

  1. apt-get install msttcorefonts

But, worry no more! Today I've found the perfect configuration for font rendering (at least for me).

You can try it out, and see for yourself if it makes it better.

All you have to do is to download the txt file, rename it to .fonts.conf (note the leading ".") and put it in your home folder. Then log out and in again and behold!

Download: 

Download multiple youtube videos at once with linux and clive

If for some reason you need to download videos from Youtube, one of the best tools in my opinion is a tiny program written in Python called Clive.

If you are using Ubuntu, you can install from the command line using the usual:

  1. sudo apt-get install clive

After this, if you find yourself with the need to download for example my turtle having fun with a rock, you just issue the command:

  1. clive http://www.youtube.com/watch?v=dB6FCWyzmjI

But, and this is where it gets very useful, if you need to get multiple videos, you just need to put the list in a text file. In the text file, put each url in a separate new line.

Then you can use:

  1. cat list.txt | clive

And clive will download everything for you. The files will be named according to the title of the youtube page and you can enjoy kitten fighting and people falling from bikes anytime you want! :-)

Searchusers: a self-explanatory module for Drupal 6

The other day I was surprised to find that apparently there is no straightforward way in Drupal6 to search for a specific user. Using the excellent interface for administering users, you can filter them using different parameters such as user permissions and status, but you can't directly search for that user which you seem to remember was called "Paul" and something.

So I decided to try and create a module which adds the functionality.

You can find the tar.gz file attached to this post. Just put it in the usual /sites/all directory and activate it.

You will find a new menu entry in the user administrative area to search for users, and a "Searchusers settings" page in which to decide how many users to show in results pages.

I hope you'll find it useful. Enjoy!

Download: 

Welcome to the new site!

After some months in the garage, being tirelessly taken apart and reassembled, I'm happy enough with this design to dare to put the website, my new home on the web, on-line!

So, hello everyone! This is Mario speaking, also known as Vermario, owner and (for now) sole contributor of Verdevelop. Let me show you around the site...

Verdevelop is my work side. This is how I pay the bills, and where I'll store my progress and the projects I'm working on. And, hopefully, get people to hire me.

I'm setting up the website in English (it's cool) and Italian (most people will read that): if you're reading this in the wrong language, click on your favourite flag in the sidebar!

You'll find more information about me in the (cleverly named) about me section above.

The articles section will contain (soon!) posts about web development and (of course) Drupal and its various implications, tricks (and headaches).