<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум ReadyScript &mdash; Как вывести заголовок категории товаров]]></title>
		<link>https://forum.readyscript.ru/topic/140/kak-vyvesti-zagolovok-kategorii-tovarov/</link>
		<atom:link href="https://forum.readyscript.ru/feed/rss/topic/140/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Как вывести заголовок категории товаров».]]></description>
		<lastBuildDate>Fri, 17 Oct 2014 03:34:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/493/#p493</link>
			<description><![CDATA[<p>Спасибо! Все работает. Тема закрыта.</p>]]></description>
			<author><![CDATA[null@example.com (Sergey T.)]]></author>
			<pubDate>Fri, 17 Oct 2014 03:34:30 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/493/#p493</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/487/#p487</link>
			<description><![CDATA[<p>На заметку, все переменные пришедшие в шаблон можно видеть в режиме отладки, описано здесь<br /><a href="http://readyscript.ru/manual/appearance_editmode.html#appearance_debug_info">http://readyscript.ru/manual/appearance … debug_info</a></p><p>ну или непосредственно в контроллере (для разработчиков). В данном случае в классе \Catalog\Controller\Front\ListProducts имеется следующий код:<br /></p><div class="codebox"><pre><code>                $this-&gt;view-&gt;assign(array(
                    &#039;query&#039; =&gt; $query,
                    &#039;dirapi&#039; =&gt; $this-&gt;dirapi,
                    &#039;path&#039; =&gt; $path,
                    &#039;dir&#039; =&gt; $dir,
                    &#039;category&#039; =&gt; $category,
                    &#039;sub_dirs&#039; =&gt; $sub_dirs,
                    &#039;dir_id&#039; =&gt; $dir_id,
                    &#039;cur_sort&#039; =&gt; $this-&gt;cur_sort,
                    &#039;cur_n&#039; =&gt; $this-&gt;cur_n_sort,
                    &#039;sort&#039; =&gt; $sort,
                    &#039;total&#039; =&gt; $total,
                    &#039;list&#039; =&gt; $list,
                    &#039;view_as&#039; =&gt; $this-&gt;view_as,
                    &#039;paginator&#039; =&gt; $paginator,
                    &#039;prop_list&#039; =&gt; $prop_list,
                    &#039;page_size&#039; =&gt; $this-&gt;pageSize,
                    &#039;items_on_page&#039; =&gt; $this-&gt;items_on_page,
                    &#039;filter&#039; =&gt; $prop_api-&gt;cleanNoActiveFilters($filters),
                    &#039;bfilter&#039; =&gt; $this-&gt;api-&gt;getBaseFilters(),
                    &#039;is_filter_active&#039; =&gt; ($prop_api-&gt;isFilterActive() || $basefilter),
                    &#039;clean_filter_url&#039; =&gt; $prop_api-&gt;getCleanFilterUrl()
                ));</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 16 Oct 2014 20:52:03 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/487/#p487</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/486/#p486</link>
			<description><![CDATA[<p>Мой коллега ошибся. в переменной $dir - находится Псевдоним категории, пришедшей из URL, а непосредственно объект категории находится в переменной <strong>$category</strong></p><p>т.е. попробуйте </p><div class="codebox"><pre><code>{$category.name}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 16 Oct 2014 20:48:07 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/486/#p486</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/482/#p482</link>
			<description><![CDATA[<p>Все бы хорошо, но заголовок я получаю латиницей</p><p><span class="postimg"><img src="http://img8.tempfile.ru/13288/14b096ea38/af6aaa2761ec0e417feb4179.jpg" alt="http://img8.tempfile.ru/13288/14b096ea38/af6aaa2761ec0e417feb4179.jpg" /></span></p><br /><br /><p>а нужна кириллица (это вручную дописано):</p><p><span class="postimg"><img src="http://img7.tempfile.ru/13288/14e81d6f92/1440f89c9a9746cbd50966fd.jpg" alt="http://img7.tempfile.ru/13288/14e81d6f92/1440f89c9a9746cbd50966fd.jpg" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Sergey T.)]]></author>
			<pubDate>Thu, 16 Oct 2014 10:40:31 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/482/#p482</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/481/#p481</link>
			<description><![CDATA[<p>Судя по скрину это шаблон /moduleview/catalog/list_products.tpl, <br />Туда уходят сведения о категории в переменную </p><p>$dir<br />А получить заголовок вы можете через конструкцию<br /></p><div class="codebox"><pre><code>{$dir.name}
//Посмотреть все свойства можно так 
&lt;pre&gt;
{var_dump($dir)}
&lt;/pre&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Александр)]]></author>
			<pubDate>Thu, 16 Oct 2014 07:56:17 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/481/#p481</guid>
		</item>
		<item>
			<title><![CDATA[Как вывести заголовок категории товаров]]></title>
			<link>https://forum.readyscript.ru/post/477/#p477</link>
			<description><![CDATA[<p>Какая конструкция выводит заголовок категории, хочу добавить его в место, указанное на скриншоте.</p><p><span class="postimg"><img src="http://img3.tempfile.ru/13287/160304da17/9a5cd834d79b46999086c452.jpg" alt="http://img3.tempfile.ru/13287/160304da17/9a5cd834d79b46999086c452.jpg" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Sergey T.)]]></author>
			<pubDate>Wed, 15 Oct 2014 12:51:00 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/477/#p477</guid>
		</item>
	</channel>
</rss>
