<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
			<channel>
			<title>Как передать $bTopicList в шаблон или найти альтернативу? / Блог им. gds / Alto CMS</title>
			<link>http://79.174.14.219/comments/229/</link>
			<description><![CDATA[Здравствуйте! Мне необходимо в файле nav.tpl шаблона разграничить выводимую информацию. Для этого идеально подходит переменная $bTopicList, но вот засада —]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>Как передать $bTopicList в шаблон или найти альтернативу? (comment #3379)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/229/#comment3379</guid>
					<link>http://79.174.14.219/229.html#comment3379</link>
					<author>gufrep@bk.ru</author>
					<description><![CDATA[Тут нужно в экшены править. <br/>
1. Идем в actions\ActionBlog\index.tpl<br/>
После строки <br/>
<pre class="prettyprint"><code>{extends file=&quot;_index.tpl&quot;}</code></pre><br/>
добавляем<br/>
<pre class="prettyprint"><code>{block name=&quot;vars&quot;}
    {$bTopicList=true}
{/block}</code></pre><br/>
<br/>
2. Идем в actions\ActionIndex\index.tpl<br/>
В тоже самое место добавляем<br/>
<pre class="prettyprint"><code>{$bTopicList=true}</code></pre><br/>
3. Все, теперь в nav.tpl<br/>
<pre class="prettyprint"><code>
{if $bTopicList}
    {* ЕСТЬ ТОПИКИ *}
{else}
    {* НЕТ ТОПИКОВ *}
{/if}
</code></pre>]]></description>
					<pubDate>Thu, 04 Jul 2013 11:03:55 +0400</pubDate>
									</item>
							<item>
					<title>Как передать $bTopicList в шаблон или найти альтернативу? (comment #3395)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/229/#comment3395</guid>
					<link>http://79.174.14.219/229.html#comment3395</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[Спасибо большое!]]></description>
					<pubDate>Thu, 04 Jul 2013 15:17:29 +0400</pubDate>
									</item>
					</channel>
	</rss>
