31
Модуль "Каталог товаров" / Re: Шаблоны из подкатегорий
« : 13 декабря 2015, 16:54:50 »Код: [Выделить]
if (!empty($item['author']) && !empty($this->get_template_block('author')))
$content = str_replace('%author%', str_replace('%author%', $item['author'], $this->get_template_block('fulltext_author')), $content);
else
$content = str_replace('%author%', $item['author'], $content);