<?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>Работа с дополнительными полями / Вопросы, проблемы и их решения / Alto CMS</title>
			<link>http://79.174.14.219/comments/283/</link>
			<description><![CDATA[Очень здорово, что в Альто встроили функционал дополнительных полей. Но возник такой вопрос: а можно ли поле вывести только в]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>Работа с дополнительными полями (comment #4639)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4639</guid>
					<link>http://79.174.14.219/283.html#comment4639</link>
					<author>simplesup@gmail.com</author>
					<description><![CDATA[Можно в шаблоне вырезать тэги из текста и картинки выводиться не будут, не придётся париться с доп. полями.]]></description>
					<pubDate>Wed, 14 Aug 2013 15:00:42 +0400</pubDate>
									</item>
							<item>
					<title>Работа с дополнительными полями (comment #4642)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4642</guid>
					<link>http://79.174.14.219/283.html#comment4642</link>
					<author>funtema@gmail.com</author>
					<description><![CDATA[А каким образом это можно сделать?]]></description>
					<pubDate>Wed, 14 Aug 2013 15:23:13 +0400</pubDate>
									</item>
							<item>
					<title>Работа с дополнительными полями (comment #4640)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4640</guid>
					<link>http://79.174.14.219/283.html#comment4640</link>
					<author>simon.smith.g@gmail.com</author>
					<description><![CDATA[<pre class="prettyprint"><code>{$oTopic-&gt;getField(field_id)-&gt;getValue()}</code></pre><br/>
field_id — id дополнительного поля (при редактировании поля берем id из url)]]></description>
					<pubDate>Wed, 14 Aug 2013 15:02:47 +0400</pubDate>
									</item>
							<item>
					<title>Работа с дополнительными полями (comment #4641)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4641</guid>
					<link>http://79.174.14.219/283.html#comment4641</link>
					<author>funtema@gmail.com</author>
					<description><![CDATA[Что-то не додумался посмотреть id при редактировании, поэтому вставлял конструкцию как то криво. Спасибо! Ещё обернул все этой в {if $oTopic-&gt;getField(field_id)}{/if}, чтобы не происходило креша, если поле не заполнено.<br/>
<br/>
Но осталось и ещё вторая вещь. Как сделать так, чтобы это поле не выводилось при просмотре полного топика.]]></description>
					<pubDate>Wed, 14 Aug 2013 15:22:49 +0400</pubDate>
									</item>
							<item>
					<title>Работа с дополнительными полями (comment #4643)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4643</guid>
					<link>http://79.174.14.219/283.html#comment4643</link>
					<author>simon.smith.g@gmail.com</author>
					<description><![CDATA[/classes/hooks/HookMain.class.php, находим<br/>
<pre>&lt;code&gt;
 /*
  * Показывавем поля при просмотре топика
  */
 $this-&gt;AddHook('template_topic_content_end', 'showfields', __CLASS__, 150);
 $this-&gt;AddHook('template_topic_preview_content_end', 'showfields', __CLASS__, 150);
&lt;/code&gt;</pre>и колдуем]]></description>
					<pubDate>Wed, 14 Aug 2013 15:36:38 +0400</pubDate>
									</item>
							<item>
					<title>Работа с дополнительными полями (comment #4644)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/283/#comment4644</guid>
					<link>http://79.174.14.219/283.html#comment4644</link>
					<author>funtema@gmail.com</author>
					<description><![CDATA[Спасибо. Ещё подумал, что в view_field_textarea.tpl можно положить {if $oTopic-&gt;getField(field_id)}{else}{/if} и так же ограничить вывод данного поля.]]></description>
					<pubDate>Wed, 14 Aug 2013 15:39:42 +0400</pubDate>
									</item>
					</channel>
	</rss>
