Перейти к содержимому


Фотография
- - - - -

Табличный вывод каталога с корзиной


  • Закрытая тема Тема закрыта
Сообщений в теме: 11

#11 CB9TOIIIA

CB9TOIIIA

Отправлено 20 January 2017 - 11:10

Мой тизер:

<?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;

Мне кажется косяк в желтой шестеренке у Вас - где цены.


  • 1

#12 robotwerder

robotwerder

Отправлено 20 January 2017 - 11:27

пасибо .. просто как всегда невнимателен я

http://screenshot.su...b22a2221b6f.jpg

забыл кнопу добавить ..


  • 0




Click to return to top of page in style!