Published: 15th Oct 2012

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,
    );
    }
Published: 19th Sep 2011

I found this video online with various scenes in Trinidad. Much locals become insensitive to the beautiful landscape that exists in Trinidad and Tobago. Not me.

Timelapsing Through Trinidad from Kevin Huggins

Published: 22nd Aug 2011

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!

Published: 2nd Jun 2011

I am sorry, this is going to be a short post, but this picture paints a thousand laughs and then some! :)


Jack Warner

And you if you didn't catch the joke, watch this video:


Published: 1st May 2011

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.

Published: 9th Feb 2011

Mayaro Beach Sunrise

The room spins, the light shines
Drums resonate, my brain flat lines.

Beat beat, my heart's at peace
Any slower and I'll be deceased

Relaxation alike, like no other,
I don't care, I dont bother.

Time goes by, but I've stayed in.
Now here comes this retarded grin

Something mystical, blowing in the air
Holding a conscieneness, holding a stare

Sometimes I open my eyes but I just cant see
Only because people surround with their negativity

I tip my hat to all that'll agree
That you can live your life and live and let be

Strip away the ego and reveal yourself

Published: 6th Jan 2011

Mayaro Beach

Mayaro Beach still remains one of my favourite spots in Trinidad and Tobago. Looking along the shorelines in any direction, you will see miles of sea meeting sand. Whether you are there for high tide or low tide, Mayaro never disappoints in giving you the most picturesque memory to cherish.

Published: 6th May 2010

I look to the Universe...it's one of the most un-discovered places by man. We know little about it, can't see much of it, don't know how big it is or if we are alone. When scientist try to explain the vastness of the Universe, they typically use Earth-like examples so that the human mind can appreciate its magnitude. Peep this...

Example 1

Published: 4th Feb 2010

Main Stage

A few days ago, the Trinidad Guardian's Main Stage was launched.

Without a doubt, the website runs on the very powerful cutting edge content management system, Drupal 6.

The design was done in-house at The Guardian (provided as a template) and some features used are the jQuery powered photo galleries.

A gallery is considered a "node" which can contain multiple images, all of which are seamlessly uploaded through the web interface of the same website.

Published: 8th Jan 2010

Asteroid Impact

All living species go through evolution.

Before the Chicxulub crater impact, there were no humans. After the impact humans walked the earth millions of years afterwards....a geological blink of the eye.

I think all species live for a while, then some massive extinction occurs by a natural phenomena. Consequently, (through evolution) a new species is derived.

Humans have been walking the Earth for thousands of years. Thousands of years is negligible when compared to the age of the universe.

Subscribe to Shivan Jaikaran's Feed