Sunday, October 17, 2010

Drupal SEO Checklist

Almost every CMS nowadays have an SEO module or plugin of some sort. For Drupal, we have one of the most comprehensive Search Engine Optimization module known as the SEO Checklist. Its actually a checklist of the modules or actions you need to take to make sure that your Drupal site is in tip-top SEO shape!

It servers as your SEO command center for Drupal, where you check out modules or actions that you have already completed and also has the Download and Configure links to various SEO modules. The current version has also added some Performance modules you need to optimize your Drupal site's page loading times.

Here are the contents of the SEO checklist:

Saturday, October 09, 2010

PHP Function to Validate Credit Card Numbers

Here is a very simple credit card number validation function for your PHP needs. This will simply check if the credit card number you placed is a valid number, this won't check if that certain credit card has available funds, or is even a REAL credit card. That should be handled by the payment processor you have for your site.

Tuesday, October 05, 2010

Drupal: Sending an Email using the drupal_mail function

Here's a code snippet that shows you how to use the drupal_mail function to send an email. First, define a callback function that will handle the creation of the message. NOTE: this function must end with "_mail"

Saturday, October 02, 2010

Drupal: Create User Accounts Through the Webform Module

There are various ways to create user accounts through Drupal, but if you need to integrate it with a Webform (required: Webform module), maybe you have also stumbled through http://drupal.org/project/webform_register and to your surpirse, there is no module for download! So here are some helpful lines of code that could get you by that I found from the "Recent issues" page of the said module:

Dancing Cebu Pacific Flight Attendants Gets Posted on Gizmodo


Cebu Pacific flight attendants giving instructions to the music of Lady Gaga and Katy Perry.


This video was just posted last September 30, already got +1,800,000 views! Despite all those legendary delayed and re-routed flights, Cebu Pacific just got some stint on one of the most popular gadget blog, Gizmodo. You can view their post here.