Suggested Update to module.php

Tabs module is the easiest and convenient way to create tabs in Joomla website with powerful features like JSON or XML support.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Nov 02, 2014 2:48 am
Code: Select all
<div <?php if($this->tabs["id"][$i] != '') echo ' id="'.($this->tabs['id'][$i]).'"'; ?> class="gkTabsItem<?php echo $active_class; ?>">
   <?php
      foreach(array_keys($this->mod_getter) as $m) {
         echo JModuleHelper::renderModule($this->mod_getter[$m]);
      }
   ?>
</div>


I hacked this in on my version. but adding the tab id's to the tabs content allows styling of each tab individually.
User avatar
Fresh Boarder

GK User
Sun Nov 02, 2014 9:01 am
Hi,
nice, but I suggest use extra class rather than ID like you did. But as you wish.
User avatar
Platinum Boarder


cron