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.
In a page--front.tpl.php i am trying to display a panel.
This works well with:
<?php if ($content = render($page['content'])): ?>
<?php print render($page['content']); ?>
<?php endif; ?>
Now i like to specify which of the content (which display) to render in my tpl.php override.
Something like:
<?php print render($page['content']['my_section']); ?>
But how to get 'my section'?
I did a dsm and got the following:
content key system_main is Array
content key #sorted is 1
content key #theme_wrappers
Array- content key #region is content
However dont know how to use this info.
Help appreciated
Thanks