4 Amazing Things to do on Phú Quốc Island, Vietnam

Posted on: Mon, 05/21/2018 - 08:12 By: admin

I recently visited Phú Quốc Island in May 2018. Phú Quốc island is off the south coast of Vietnam, actually being closer to Cambodia. I wrote about some of the activities I did. Click on the title to read some more!

Upgrading from Drupal 5 to 7 and the XML Sitemap Module

Posted on: Tue, 12/17/2013 - 03:26 By: admin

After months of deliberation and procrastination, I have finally found the time to upgrade my own website. It's now running on Drupal 7.

I decided to change the theme and keep it simple. A neat layout and also mobile friendly theme is what I was aiming for. Thanks to the many contributors at Drupal, finding a user contributed simple and clean theme was not very hard at all.

Annoying Drupal 5/6 problem. Can't sign in even if your username/password is correct.

Posted on: Tue, 12/03/2013 - 14:26 By: admin

If you still happen to be maintaining a Drupal 5 or 6 website for a client you may encounter this problem of getting access denied even though you correctly entering the right username and password.

The first place to check, (and this is the most common solution), is to check the Sessions table in your mySQL database. Try repairing this table and that should do the trick.

An easy way to do this is to use PHPMyAdmin.

Drupal 7: How to add a custom CSS class to the last search result item on the search page

Posted on: Wed, 11/14/2012 - 13:53 By: admin

This is a small tidbit of information in the event that you wanted to alter the Drupal search results page. You can add a custom CSS class to the last search result item (for whatever reason you may have). In my case, I wanted to remove the border-bottom from the last result, so I had to add a special CSS class to do this.

Just follow these simple steps:

  1. Override template_preprocess_search_results

Drupal 7: How to add a custom node view and force a node template to use it

Posted on: Mon, 10/15/2012 - 16:11 By: admin

This is a small Drupal 7 tip if you wanted to create a custom node view and force a node template to use this custom node view.

Use case

Let's say you are creating a custom node template for a node of type "grades". You may need to show/hide specific fields in your content type for your Grades template. (This is just an example but you can use this tip in various ways).

The Steps

    You can create a new view mode by putting this code into your custom module:

  1. /**
    * Implements hook_entity_info_alter().
    function MYMODULE_entity_info_alter(&$entity_info) {
    $entity_info['node']['view modes']['custom_teaser'] = array(
    'label' => t('Your Custom Teaser'),
    'custom settings' => TRUE,

What would you do for pudding?

Posted on: Mon, 08/22/2011 - 15:07 By: admin

Well here goes: I was told that if I put this on my website, I would get free pudding.

I just could not turn down this offer. Anxiously waiting...

Charlie's Pudding Toronto

ps If you found this place from this website, you can do me a great favour by just mentioning this to the cashier. Thanks!

The Loser Life - Thanks Sony

Posted on: Sun, 05/01/2011 - 19:59 By: admin

Sony PS3 network down

Everyday after work I come home, wash some wares, make something to eat, pace up my balcony (and back) - all in a vain to fill the gaping boredom hole and now entertain life without my PS3. Sometimes, I reach for the little black controller neatly placed on the left side of my couch, hit the PS button and just hope that the PS3 network is back up (even though I know it's not). Sad.

Subscribe to