Всем доброго.
Работали по вот этой инструкции
http://forum.jbzoo.c...taloga-v-jbzoo/
Вывести в табличном виде одну категорию и материалы на главной получилось
http://rusinvestresu....ru/zoo-главная
http://rusinvestresu...oenix-contact-2
Не получается использовать табличный вывод материалов в подкатегории
http://rusinvestresu...surs.ru/каталог
Требуется, чтобы после названия категории шел список материалов в табличном виде.
Содержимое файлов
teaser.php
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<tr class="table-row item_<?php echo $item->id;?>">
<td><?php echo $item->id; ?></td>
<td><?php echo $this->renderPosition('cell1'); ?></td>
<td><?php echo $this->renderPosition('cell2'); ?></td>
<td><?php echo $this->renderPosition('cell3'); ?></td>
<td><?php echo $this->renderPosition('cell4'); ?></td>
</tr>
positions.xml
<?xml version="1.0" encoding="utf-8"?>
<renderer>
<positions layout="full">
<position name="title">Title</position>
<position name="count">ед.измерения</position>
<position name="price">Цена</position>
<position name="email">E-mail</position>
</positions>
<positions layout="teaser">
<position name="cell1">Table cell #1</position>
<position name="cell2">Table cell #2</position>
<position name="cell3">Table cell #3</position>
<position name="cell4">Table cell #4</position>
</positions>
<positions layout="subcategory_item">
<position name="cell1">Table cell #1</position>
<position name="cell2">Table cell #2</position>
<position name="cell3">Table cell #3</position>
<position name="cell4">Table cell #4</position>
</positions>
</renderer>
subcategory_item.php
<?php
defined('_JEXEC') or die('Restricted access');
?>
<tr class="table-row item_<?php echo $item->id;?>">
<td><?php echo $item->id; ?></td>
<td><?php echo $this->renderPosition('cell1'); ?></td>
<td><?php echo $this->renderPosition('cell2'); ?></td>
<td><?php echo $this->renderPosition('cell3'); ?></td>
<td><?php echo $this->renderPosition('cell4'); ?></td>
</tr>
metadata.xml
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout name="full">
<name>Full</name>
<description>An item is rendered with the full layout in the item view.</description>
</layout>
<layout name="teaser" type="related">
<name>Teaser</name>
<description>An item is rendered with the teaser layout in the frontpage, category, alphaindex and tag view.
</description>
</layout>
<layout name="compare">
<name>Compare</name>
<description>Compare item layout</description>
</layout>
<layout name="related" type="related">
<name>Related</name>
<description>Related items layout</description>
</layout>
<layout name="subcategory_item" type="related">
<name>Subcategory item</name>
<description>Subcategory item layout</description>
</layout>
<layout name="feed">
<name>Feed</name>
<description>An item is rendered with the feed layout for all kinds of feeds like RSS and Atom.</description>
</layout>
<layout name="submission" type="submission">
<name>Submission</name>
<description>An item is rendered with the submission layout in the submission view.</description>
</layout>
<layout name="favorite">
<name>Favorite</name>
<description>Layout for element favorite</description>
</layout>
</metadata>
Что я упускаю?