Че орать то? /media/zoo/applications/product/templates/default/category.php Код (CODE): <?php // render categories if ($this->category->childrenHaveItems()) { $categoriestitle = $this->category->getParams()->get('content.categories_title'); echo $this->partial('categories', compact('categoriestitle')); } ?> <?php // render items if (count($this->items)) { $itemstitle = $this->category->getParams()->get('content.items_title'); echo $this->partial('items', compact('itemstitle')); } ?> Это Субкатегории и собственно материал... Описание категории и Альфабета находятся выше этого кода...
Помогите перенести описание под товары плис! www/media/zoo/applications/jbuniversal/templates/catalog/renderer/category/_default.php Код (PHP): <?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @coder Denis Smetannikov <denis@jbzoo.com> */ // no direct access defined('_JEXEC') or die('Restricted access'); $this->app->jbdebug->mark('layout::category::start'); // set vars $category = $vars['object']; $title = $this->app->string->trim($vars['params']->get('content.category_title', '')); $subTitle = $this->app->string->trim($vars['params']->get('content.category_subtitle', '')); $image = $this->app->jbimage->get('category_image', $vars['params']); $title = $title ? $title : $category->name; if ((int)$vars['params']->get('template.category_show', 1)) : ?> <div class="category rborder alias-<?php echo $category->alias; ?>"> <?php if ((int)$vars['params']->get('template.category_title_show', 1)) : ?> <h1 class="title"><?php echo $title; ?></h1> <?php endif; ?> <?php if ((int)$vars['params']->get('template.category_subtitle', 1) && !empty($subTitle)) : ?> <h2 class="subtitle"><?php echo $subTitle; ?></h2> <?php endif; ?> <?php if ((int)$vars['params']->get('template.category_image', 1) && $image['src']) : ?> <div class="image-full align-<?php echo $vars['params']->get('template.category_image_align', 'left'); ?>"> <img src="<?php echo $image['src']; ?>" <?php echo $image['width_height']; ?> title="<?php echo $category->name; ?>" alt="<?php echo $category->name; ?>"/> </div> <?php endif; ?> <?php if ((int)$vars['params']->get('template.category_teaser_text', 1) && $vars['params']->get('content.category_teaser_text', '')) : ?> <div class="description-teaser"> <?php echo $vars['params']->get('content.category_teaser_text', ''); ?> </div> <?php endif; ?> <?php $show_field = true; $arr = explode('/', $_SERVER['REQUEST_URI']); if(count($arr)>2 && (int)end($arr) >0 ) $show_field = false; if($show_field){ echo $category->getText($category->description); }else{ } ?> <div class="clr clear"></div> </div> <?php else: ?> <div class="category alias-<?php echo $category->alias; ?>"> <?php if ((int)$vars['params']->get('template.category_title_show', 1)) : ?> <h1 class="title"><?php echo $title; ?></h1> <?php endif; ?> </div> <?php endif; ?> <?php $this->app->jbdebug->mark('layout::category::finish'); Если я правильно понял, то кусок кода: Код (PHP): <?php $show_field = true; $arr = explode('/', $_SERVER['REQUEST_URI']); if(count($arr)>2 && (int)end($arr) >0 ) $show_field = false; if($show_field){ echo $category->getText($category->description); }else{ } ?> нужно перенести куда-то)