<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://ngcms.ru/forum/extern.php?action=feed&amp;tid=3844&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Next Generation CMS :: Форум поддержкиШаблон Flat-cinema]]></title>
		<link>https://ngcms.ru/forum/viewtopic.php?id=3844</link>
		<description><![CDATA[Самые свежие сообщения в Шаблон Flat-cinema.]]></description>
		<lastBuildDate>Thu, 10 Jan 2019 11:27:51 +0000</lastBuildDate>
		<generator>FluxBB 1.5.11</generator>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=44442#p44442</link>
			<description><![CDATA[<p>Доп.поля добавляются в плагине xfields. Нужно добавить доп.поле примерно как в прикреплённом изображении</p>]]></description>
			<author><![CDATA[dummy@example.com (rusiq)]]></author>
			<pubDate>Thu, 10 Jan 2019 11:27:51 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=44442#p44442</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=44441#p44441</link>
			<description><![CDATA[<p>Если я правильно понял,надо добавить доп поля в xnews ?</p>]]></description>
			<author><![CDATA[dummy@example.com (velziul)]]></author>
			<pubDate>Thu, 10 Jan 2019 10:21:03 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=44441#p44441</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=44423#p44423</link>
			<description><![CDATA[<p>В данном шаблоне вся информация в блоках на главной странице выводится ч/з плагин xnews.</p><p>Блоков там несколько: <strong>Популярные фильмы</strong> выводится непосредственно в шаблоне <strong>main.tpl</strong></p><div class="codebox"><pre><code>		{% if isHandler(&#039;news:main&#039;) %}
			&lt;div id=&quot;slider-bar&quot; class=&quot;block-violet&quot;&gt;
				&lt;div class=&quot;container&quot;&gt;
					&lt;div class=&quot;owl-film owl-violet&quot;&gt;
						&lt;h1 class=&quot;h-owl h-owl-big&quot;&gt;&lt;b&gt;Популярные фильмы&lt;/b&gt;&lt;/h1&gt;
						&lt;div class=&quot;owl-box&quot;&gt;
							&lt;div id=&quot;owl-slider&quot; class=&quot;owl-carousel&quot;&gt;
								{{ callPlugin(&#039;xnews.show&#039;, {
                                    &#039;order&#039;: &#039;last&#039;,
                                    &#039;categories&#039;: &#039;1,2,3,4,5,6,7,8,9,10,11,12,13,14,15&#039;,
                                    &#039;count&#039;: &#039;10&#039;,
                                    &#039;template&#039;: &#039;xnews1&#039;,
                                    &#039;cacheAge&#039;: &#039;180&#039;
                                }) }}
							&lt;/div&gt;
						&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		{% endif %}</code></pre></div><p>Остальные блоки, также выводятся ч/з плагин xnews, но подключаются уже в отдельном файле <strong>include/main-film.tpl</strong> </p><div class="codebox"><pre><code>{% include &quot;include/main-film.tpl&quot; %}</code></pre></div><p>Плагин xnews же хранит свои шаблоны в папке \templates\flat-cinema\plugins\xnews. К примеру для блока <strong>Популярные фильмы</strong></p><div class="codebox"><pre><code>&#039;template&#039;: &#039;xnews1&#039;,</code></pre></div><p>1. Открываем файл <strong>\templates\flat-cinema\plugins\xnews\xnews1\entries.tpl</strong>, ищем тег img и видим, что изображение подключается ч/з доп.поля (их нужно самому создавать) плагина xfield</p><div class="codebox"><pre><code>&lt;img src=&quot;{% if (p.xfields.poster.count &lt; 1) %}{{ tpl_url }}/images/no_image.jpg{% else %}{{ p.xfields.poster.entries[0].purl }}{% endif %}&quot; alt=&quot;{{ news.title }}&quot; /&gt;</code></pre></div><p>Меняем как описано выше http://ngcms.ru/forum/viewtopic.php?pid=41711#p41711</p><p>2. За вывод разных категорий отвечает строка</p><div class="codebox"><pre><code>&#039;categories&#039;: &#039;1,2,3,4,5,6,7,8,9,10,11,12,13,14,15&#039;,</code></pre></div><p>Если её убрать, то записи будут выводиться из всех категорий.</p>]]></description>
			<author><![CDATA[dummy@example.com (rusiq)]]></author>
			<pubDate>Sun, 06 Jan 2019 23:59:08 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=44423#p44423</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=44422#p44422</link>
			<description><![CDATA[<p>Подскажите,куда что вставить ,чтоб на главной странице показывало картинки в короткой новости.<br />И как и где прописать чтоб выводило разные категории на главной,<br />Так как здесь написано не получается.<br />За ранее спасибо !</p>]]></description>
			<author><![CDATA[dummy@example.com (velziul)]]></author>
			<pubDate>Sun, 06 Jan 2019 15:07:34 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=44422#p44422</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41712#p41712</link>
			<description><![CDATA[<div class="quotebox"><cite>irbees2008 пишет:</cite><blockquote><div><div class="codebox"><pre><code>&lt;img src=&quot;{% if (news.embed.imgCount &gt; 0) %}{{ news.embed.images[0] }}{% else %}{{ tpl_url }}/images/no_image.jpg{% endif %}&quot; alt=&quot;{{ news.title }}&quot; class=&quot;radius-3&quot; /&gt;</code></pre></div><p>вот так и в файле <strong>variables.ini</strong> добавить </p><div class="codebox"><pre><code>extractEmbeddedItems= 1</code></pre></div></div></blockquote></div><p>Большое спасибо irbees2008!<br />То, что надо!</p>]]></description>
			<author><![CDATA[dummy@example.com (ved)]]></author>
			<pubDate>Sun, 07 Aug 2016 20:42:14 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41712#p41712</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41711#p41711</link>
			<description><![CDATA[<div class="codebox"><pre><code>&lt;img src=&quot;{% if (news.embed.imgCount &gt; 0) %}{{ news.embed.images[0] }}{% else %}{{ tpl_url }}/images/no_image.jpg{% endif %}&quot; alt=&quot;{{ news.title }}&quot; class=&quot;radius-3&quot; /&gt;</code></pre></div><p>вот так и в файле <strong>variables.ini</strong> добавить </p><div class="codebox"><pre><code>extractEmbeddedItems= 1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (irbees2008)]]></author>
			<pubDate>Sun, 07 Aug 2016 13:04:32 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41711#p41711</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41710#p41710</link>
			<description><![CDATA[<p>В шаблоне все картинки вытаскиваются так:</p><div class="codebox"><pre><code>&lt;img src=&quot;{% if (p.xfields.poster.count &lt; 1) %}{{ tpl_url }}/images/no_image.jpg{% else %}{{ p.xfields.poster.entries[0].purl }}{% endif %}&quot; alt=&quot;{{ news.title }}&quot; class=&quot;radius-3&quot; /&gt;</code></pre></div><p>значит необходимы доп. поля.</p><p>Мне нужна простая конструкция типа </p><div class="codebox"><pre><code> &lt;a href=&quot;{{ news.url.full }}&quot;&gt;&lt;img src=&quot;{% if (news.embed.imgCount &gt; 0) %}{{ news.embed.images[0] }}{% else %}{{ tpl_url }}/images/no_image.jpg{% endif %}&quot; alt=&quot;{{ news.title }}&quot;&gt;&lt;/a&gt;</code></pre></div><p>но она картинки именно в этом шаблоне не подтягивает</p>]]></description>
			<author><![CDATA[dummy@example.com (ved)]]></author>
			<pubDate>Sun, 07 Aug 2016 08:04:51 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41710#p41710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41709#p41709</link>
			<description><![CDATA[<p>стандартный как раз и вытягивает картинки, он без доп. полей.</p>]]></description>
			<author><![CDATA[dummy@example.com (irbees2008)]]></author>
			<pubDate>Sun, 07 Aug 2016 07:55:27 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41709#p41709</guid>
		</item>
		<item>
			<title><![CDATA[Re: Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41708#p41708</link>
			<description><![CDATA[<p>Можно ли настроить, чтобы данный шаблон позволял вытягивать картинку в категориях и на главной, без дополнительных полей, а прямо из новости?<br />Стандатний способ почему-то не вытягивает картинки.</p>]]></description>
			<author><![CDATA[dummy@example.com (ved)]]></author>
			<pubDate>Sun, 07 Aug 2016 00:53:34 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41708#p41708</guid>
		</item>
		<item>
			<title><![CDATA[Шаблон Flat-cinema]]></title>
			<link>https://ngcms.ru/forum/viewtopic.php?pid=41419#p41419</link>
			<description><![CDATA[<p><a href="/forum/go.php?link=http://fastpic.ru/view/75/2016/0323/122404ebf435e0e205f535c85520c82e.jpg.html" rel="nofollow"><span class="postimg"><img src="http://i75.fastpic.ru/thumb/2016/0323/2e/122404ebf435e0e205f535c85520c82e.jpeg" alt="122404ebf435e0e205f535c85520c82e.jpeg" /></span></a></p><p><strong>Тип шаблона</strong>: Оригинал<br /><strong>Тип ширины</strong>: Адаптивный<br /><strong>Комплектация</strong>: tpl, css, img, js, (psd Логотипа)<br /><strong>Тестировался</strong>: Mozilla, Opera, Google Chrome<br /><strong>Адаптировал</strong>: ViP</p><p><strong>Поддерживаемые плагины</strong>:</p><p>archive_v0.06<br />auth_basic_v0.26<br />bb_media_v0.08<br />bookmarks_v2.3<br />breadcrumbs_v1.1<br />calendar_v0.10<br />comments_v0.09<br />feedback_v0.24<br />nsm_v0.02<br />pm_v0.5<br />rss_export_v0.16<br />tags_v0.25<br />uprofile_v0.11<br />voting_v0.16<br />xfields_v0.24<br />xnews_v0.04</p><p><a href="/forum/go.php?link=http://templates.ngcms.ru/kino/0175-shablon-flat-cinema.html" rel="nofollow">Скачать шаблон Flat-cinema</a></p>]]></description>
			<author><![CDATA[dummy@example.com (vip)]]></author>
			<pubDate>Tue, 22 Mar 2016 22:47:57 +0000</pubDate>
			<guid>https://ngcms.ru/forum/viewtopic.php?pid=41419#p41419</guid>
		</item>
	</channel>
</rss>
