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.
Hello,
by default the primaty tabs are rendered in the content region. But that destroys my layout so I would like to move them to another region. How can I do that?
I already created a region--preface-first.tpl.php file and put this into it:
<?php if ($tabs && !empty($tabs['#primary'])): ?><div class="tabs clearfix"><?php print render($tabs); ?></div><?php endif; ?>
But that doesn't do anything. The file itself ist being rendered though.
Comments
Comment #1
l0calh0rst CreditAttribution: l0calh0rst commentedOk, found the answer myself.
Create region--preface-first.tpl.php in your theme's template folder and add:
Done