I have a custom content type "mycustomcontenttype" and i have a view listing for this Content Type. I have also a link in title for each node when clicked will open a popup shadowbox with node details. My problem is when the details comes in popup i have all the rest site layout with Header/Footer while i want to have only the node details without header footer. My template file for node named node--mycustomcontent.tpl. I want to hide or disable from this template the header and footer.
SOLVED I found a solution finally. In page.tpl.php i set an if statement like below
if ($node->type != 'mycustomcontenttype') { print render($page['header']); }