Мой тизер:
<?php defined('_JEXEC') or die('Restricted access'); ?> <tr class="table-row item_<?php echo $item->id;?>"> <td><?php echo $this->renderPosition('cell1'); ?></td> <td><?php echo $this->renderPosition('cell2'); ?></td> <td class="numbercat"><?php echo $this->renderPosition('cell3'); ?></td> <td class="pricecatw"><?php echo $this->renderPosition('cell4'); ?></td> <td class="pricetd"><?php echo $this->renderPosition('cell5'); ?></td> </tr>
<?php defined('_JEXEC') or die('Restricted access'); $this->app->jbassets->tablesorter(); // подключение библиотеки для сортировки if ($vars['count']) : ?> <table class="jsTableSorter tablesorter zebra"> <thead> <tr> <th>Артикул</th> <th>Наименование</th> <th>Номер по каталогу</th> <th>Цена</th> <th>Заказ</th> </tr> </thead> <tbody> <?php foreach ($vars['objects'] as $object) : echo $object; endforeach; ?> </tbody> </table> <!-- инициализация сортировки --> <script type="text/javascript"> jQuery(function ($) { $('.jsTableSorter').tablesorter({}); }); </script> <?php endif;
Мне кажется косяк в желтой шестеренке у Вас - где цены.