title: Drupal 7 custom content type theme hiding Header/footer from node.tpl
body: <p>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.</p>
  
  <p>SOLVED
  I found a solution finally. In page.tpl.php i set an if statement like below</p>
  
  <pre><code>    if ($node-&gt;type != 'mycustomcontenttype') { print render($page['header']); } 
  </code></pre>