javascript - How to hide a tab from a tabpanel when it gives the output through a php foreach -
i using joomla latest version integrated particular component. there can add custom tab fields. inserted custom fields shows below mentioned while standard custom fields named such "tab-1", "tab-2".
<?php foreach($tabsgroup $t): ?> <li rel="<?=$t->getelementvalue('alias')?>"> <a class="jd-tab-text"><?=$t->getelementvalue('name')?></a> </li> <?php endforeach; ?>
i have inserted 4 custom fields , need hide 1 tab according user packages. please advice on this.
thank you
Comments
Post a Comment