Hang on...

drupal

jQuery Change select dropdown value and remove selected attribute

Again, this is just a quick note about how to select an option with jQuery and remove the selected attribute.

Drupal 6.20 & Drupal 7.0

Drupal 6.20 released

PHP GD for Drupal on Ubuntu

I wanted to write this article for a long time but I never had the chance to do it. Today, I had to install the GD library on two different Ubuntu servers so I had to dig up my notes about this.

42droids is powered by Project Mercury now

I purchased a new Linode yesterday and started to do some experiment with Mercury. I used  the knowledge I gained when I setup the 5280's server.

Open Atrium Beta 8 is getting close

Open Atrium an open source intranet built on Drupal has released its Features beta 12 tod

In case you haven't heard Ubercart 2.3 is out now!

The news from the ubercart website:

Drupal - imagecache problems with special characters

If you upload an image with an ampersand (&) in the filename, Imagecache will refuse to display the image.

Ubercart 1.9 for Drupal 5 and Ubercart 2.1 for Drupal 6

The current release version is Ubercart 1.9 for Drupal 5 and Ubercart 2.1 for Drupal 6.

Visit the project page on http://drupal.org/project/ubercart

Ubercart 2.x Price Handler and Old Price

Ubercart 2.x introduced a new way of handling product prices. It is called price_handler().

Drupal Cron Job Setup Howto on Linux

Cron is a time-based job scheduler in Unix-like computer operating systems. 'cron' is short for 'chronograph'. If you would like to set up your Drupal and linux server to use the cron, these steps will help to achieve your goal. Open up a console and change to the user which will run the cron. Every user has it's own cron tab (which is the list of jobs cron has to run.) If you prefer, create a new user for this job. To access your crontab use the following command:
crontab
This will give you a summary of crontab's commands and switches. To list your cronlist type:
crontab -l
and to edit the list:
crontab -e
If this is the first time you edit the crontab, it will ask you which editor you would like to use. If you are unsure, use google to find out which editor is the best for you. Inside the editor, add the following line to the end of the list:
*/5 * * * * /usr/bin/wget -O - -q -t 1 http://[your server url]/cron.php
This will execure the cron.php in every 5 minutes. Here is a diagram of the general crontab syntax, for illustration:
*    *    *    *    *  [command to be executed]
|    |    |    |    |
|    |    |    |    +----- day of week (0 - 6) (Sunday=0)
|    |    |    +------- month (1 - 12)
|    |    +--------- day of month (1 - 31)
|    +----------- hour (0 - 23)
+------------- min (0 - 59)
* in the value field above means all legal values as in braces for that column. The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).