media/zoo/applications/jbuniversal/templates/catalog/category.php
// subcategories render $categories = $this->category->getChildren(); if ($this->params->get('template.subcategory_show', 1) && count($categories)) { echo $this->app->jblayout->render('subcategories', $categories); }Эту часть , скопировал на верх и иконки появились, только они идут не по порядку а выстроились в вертикальную линию
, вопрос собственно в том как сделать чтобы иконки шли по порядку, как внизу
Файл целиком после модификации
defined('_JEXEC') or die('Restricted access'); $this->app->jbdebug->mark('template::category::start'); $this->app->jblayout->setView($this); $currentView = $this->app->jbrequest->get('view', 'category'); if ($currentView == 'frontpage') { $category = $this->application; } else { $category = $this->category; } // subcategories render $categories = $this->category->getChildren(); if ($this->params->get('template.subcategory_show', 1) && count($categories)) { echo $this->app->jblayout->render('subcategories', $categories); } if (!$this->app->jbcache->start($this->params->get('config.lastmodified'))) { $this->app->jbwrapper->start(); // category render echo $this->app->jblayout->render($currentView, $category); // alphaindex render if ($this->params->get('template.show_alpha_index', 0)) { echo $this->app->jblayout->render('alphaindex', $this->alpha_index); } // subcategories render $categories = $this->category->getChildren(); if ($this->params->get('template.subcategory_show', 1) && count($categories)) { echo $this->app->jblayout->render('subcategories', $categories); } // category items render if ($this->params->get('config.items_show', 1) && count($this->items)) { if ($this->params->get('config.show_feed_link', 1) && $currentView == 'category') { $link = $this->params->get('config.alternate_feed_link'); if (!$link) { $link = $this->app->route->feed($this->category, 'rss'); } $link = JRoute::_($link); echo '<a class="rsslink" target="_blank" href="' . $link . '" title="' . JText::_('RSS feed') . '">' . JText::_('RSS feed') . '</a>'; echo '<div class="clear clr"></div>'; } echo $this->app->jblayout->render('items', $this->items); } else { echo $this->app->jblayout->render('items_empty', $category); } // pagination render if ($this->params->get('template.item_pagination', 1)) { echo $this->app->jblayout->render('pagination', $this->pagination, array('link' => $this->pagination_link)); } $this->app->jbwrapper->end(); $this->app->jbcache->stop(); } $this->app->jbdebug->mark('template::category::finish');
вот пример сайта - http://ventopt.ru/in...lyatory-bytovye
И второй вопрос , когда использую фильтр появляется ошибка
Warning: urlencode() expects parameter 1 to be string, array given in /home/xxxin/domains/ventopt.ru/public_html/components/com_sef/joomsef.php on line 1233при этом фильтр вроде бы корректно строит список элементов по заданным параметрам.