drupal

Dev and prod plateform : avoid duplicating /default/files

When you want to refresh your dev environement with data from the production, you need to update the database and the user uploaded files, with is the most boring part if you only use FTP.

You can avoid this step by adding a single line to your htaccess file, or even better, in the virtualhost definition to avoid drupal overriding it on every update.

Simple way to bypass the one time login form

In Drupal 6 and 7, user using the password recovery, or "verify your email" registration process, will receive a mail with a one time login link.
Cliking the link will bring them to a one time login form they have to submit.

So here is a trick from sivaji from drupalgardens to bypass the one time login form.