Monday, May 14, 2012

Tagged under: , , ,

Tabs appearance checking in Drupal template file always returns TRUE!


















This is a Drupal issue I think. To make it right, you have to check all 2 following variables:



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

<?php endif; ?>

0 comments:

Post a Comment