This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

planetadeleste
planetadeleste

Is there a way to check if secondary tabs has contents? I want to do something like this:

<?php if ($this->secondaryTabsHasContents()): ?>
    <?php Block::put('form-sidebar') ?>
        <div class="hide-tabs"><?= $this->formRenderSecondaryTabs() ?></div>
    <?php Block::endPut() ?>
<?php endif ?>

It is possible? thanks

daftspunky
daftspunky

It is in the latest build, try using $this->formHasSecondaryTabs()

planetadeleste

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.