Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to render a node with only the main content area. I'm close, but it still prints the sidebars. I'm opening a node with lightbox and having it use a specific page--node--lightbox2.tpl.php.
<?php if (isset($page['content'])) : ?>
<?php print render($page['content']); ?>
<?php endif; ?>
Can I further break down render($page['content']); so that it does not include sidebar regions?
Thanks!