There is a problem with core themes showing secdonary tabs, such as Bratik. This occurs in webform and Media moduel settings, forexample.

page.tpl.php

I changed the tabs code from:

<?php if (!empty($tabs['#primary'])): ?>
  <div class="tabs"><?php print render($tabs); ?></div>
<?php endif; ?>

To:

<?php if (!empty($tabs['#primary']) || !empty($tabs['#secondary'])): ?>
  <div class="tabs"><?php print render($tabs); ?></div>
<?php endif; ?>

Comments

montesq’s picture

Can we have more details?
Except Bartik, with which theme do you reproduce?
Can you provide a screenshot of what you get and what is expected?
Could you give the steps to reproduce?

Amarjit’s picture

Hello montesq,

This is to do with the Bratik theme.

As an example:

  • Simply install Drupal 7.
  • Install Webform module.
  • Create a webform and you will notice there are no tabs on the AJAX overlay.

The reason for this is page.tpl.php does not contain print render($tabs);

This may be part of a bigger problem - I am not sure.

Hope this helps.

Version: 7.0 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.