Theming of particular node with node id in drupal 6


Rakesh Kumar

Write down the following code in Template.php

function yourthemename_preprocess_node(&$vars, $hook) {
$node = $vars[‘node’];
$vars[‘template_file’] = ‘node-‘. $node->nid;
}

View original post

Advertisements

One thought on “Theming of particular node with node id in drupal 6

  1. Pingback: OaklEy EyEpatcH

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s