Я увеличил с помощью хака категории к которым может относится один материал. Так вот материал может относится к указанным категориям(отображается в них(в каждом из них)), но в материале он показывает только 2 из них вместо третьего пустота,. Например: "Ужасы, Триллер, , , ".
<?php if ($params->get('show_category')) : ?>
<dd class="category-name">
<?php $title = $this->escape($this->item->category_title);
$title2 = $this->escape($this->item->category_title2);
$title3 = $this->escape($this->item->category_title3);
$title4 = $this->escape($this->item->category_title4);
$title5 = $this->escape($this->item->category_title5);
$title6 = $this->escape($this->item->category_title6);
$url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid)). '">' . $title . '</a>';
$url2 = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid2)). '">' . $title2 . '</a>';
$url3 = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid3)). '">' . $title3 . '</a>';
$url3 = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid4)). '">' . $title4 . '</a>';
$url3 = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid5)). '">' . $title5 . '</a>';
$url3 = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid6)). '">' . $title6 . '</a>';
?>
<?php if ($params->get('link_category')) : ?>
<?php echo JText::sprintf('COM_CONTENT_CATEGORY', $url);
if ($this->item->category_title2) echo ', '.$url2;
if ($this->item->category_title3) echo ', '.$url3;
if ($this->item->category_title4) echo ', '.$url4;
if ($this->item->category_title5) echo ', '.$url5;
if ($this->item->category_title6) echo ', '.$url6;
?>
<?php else : ?>
</dd>
<?php endif; ?>
<?php endif; ?>
Код вывода категорий думаю там ошибок нет... Помогите срочно надо