Open node as popup with Lightbox 2 I recently upgraded my site to Drupal 7 and felt a need for opening some specific node as popup using Lightbox 2.

I have been through the documentation, and I found out that in Drupal 7 this feature can be implemented by adding a new template file in theme's directory named page--node--[nid].tpl.php.

The problem is that, when I implemented it this way, I wasn't able to view the node content properly as in the template I removed the header, sidebars etc.

So when I try to access the node via www.example.com/node/[nid] only content would appear without showing any headers or sidebars.

So has anyone implemented this feature using Lightbox 2 in Drupal 7?
In your tpl.php file only have the following

&lt;?php print render($content); ?&gt;


If you want to style it you can wrap divs around. 

Then add a rel="lightframe" attribute in your link that will trigger lightbox.

&lt;a href="http://www.example.com/node/[nid]" rel="lightframe"&gt;Link&lt;/a&gt;