<?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 передать Event в шаблон блока? [РЕШЕНО] / Блог им. gds / Alto CMS</title>
			<link>http://79.174.14.219/comments/92/</link>
			<description><![CDATA[Здравствуйте! Суть задачи: есть файл block.blogs_top.tpl, который я хочу привести к такому виду &amp;#60;ul class=&amp;#34;block-blog-list&amp;#34;&amp;#62; {foreach from=$aBlogs item=oBlog} &amp;#60;li {if]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1287)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1287</guid>
					<link>http://79.174.14.219/92.html#comment1287</link>
					<author>1099511627776@mail.ru</author>
					<description><![CDATA[{debug} что говорит?]]></description>
					<pubDate>Fri, 17 May 2013 12:36:09 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1291)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1291</guid>
					<link>http://79.174.14.219/92.html#comment1291</link>
					<author>vshemarov@gmail.com</author>
					<description><![CDATA[Если значение переменной не соответствует ожидаемому, то это не значит, что переменной вообще нет.<br/>
<br/>
В переменную шаблона $sEvent значение передается без всяких дополнительных усилий — Router это делает. Только вот если виджет выводится классом ActionAjax, то экшен у него будет ajax и ивент тоже будет не тот, о котором Вы подумали (какой именно — в классе надо смотреть, на память не помню)]]></description>
					<pubDate>Fri, 17 May 2013 13:28:18 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1318)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1318</guid>
					<link>http://79.174.14.219/92.html#comment1318</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[<pre class="prettyprint"><code>$this-&gt;AddEventPreg('/^blogs$/i','/^top$/','EventBlogsTop');</code></pre><br/>
Т.е. получается, что я не могу выделить название блога, который смотрит юзер в блоке, т.к. у него в любом случае ивент будет 'top'?]]></description>
					<pubDate>Fri, 17 May 2013 16:44:48 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1321)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1321</guid>
					<link>http://79.174.14.219/92.html#comment1321</link>
					<author>1099511627776@mail.ru</author>
					<description><![CDATA[<pre>&lt;code&gt;$this-&gt;AddEventPreg('/^blogs$/i','/^top$/','EventBlogsTop');&lt;/code&gt;</pre>ну по этому запросу — точно<br/>
а можете указать на строчку откуда этот текст взят? (на гитхабе к примеру)]]></description>
					<pubDate>Fri, 17 May 2013 16:51:19 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1324)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1324</guid>
					<link>http://79.174.14.219/92.html#comment1324</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[<a href="https://github.com/altocms/altocms/blob/master/classes/actions/ActionAjax.class.php" rel="nofollow">https://github.com/altocms/altocms/blob/master/classes/actions/ActionAjax.class.php</a><br/>
61 строка (забыл, как сразу на строку ссылку давать)]]></description>
					<pubDate>Fri, 17 May 2013 16:58:31 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1325)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1325</guid>
					<link>http://79.174.14.219/92.html#comment1325</link>
					<author>1099511627776@mail.ru</author>
					<description><![CDATA[Шото мне подсказывает что там того sEvent-а вообще не будет.<br/>
т.к. это /blogs/ т.е. список всех блогов. Как ты можешь высветить «текущий блог» если ты находишься не в «блоге» а в «списке блогв» где по определению нет текущего]]></description>
					<pubDate>Fri, 17 May 2013 17:07:26 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1326)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1326</guid>
					<link>http://79.174.14.219/92.html#comment1326</link>
					<author>1099511627776@mail.ru</author>
					<description><![CDATA[Ну или тогда более детально надо поставить задачу.<br/>
«Хочу привети к виду .......» — не катит<br/>
«Хочу чтобы выделялся красным текущий блог» — катит]]></description>
					<pubDate>Fri, 17 May 2013 17:08:37 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1330)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1330</guid>
					<link>http://79.174.14.219/92.html#comment1330</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[В общем списке блогов ничего и не должно выделяться. Должен выделяться блог в блоке top, когда юзер смотрит список топиков этого блога.]]></description>
					<pubDate>Fri, 17 May 2013 17:27:54 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1332)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1332</guid>
					<link>http://79.174.14.219/92.html#comment1332</link>
					<author>1099511627776@mail.ru</author>
					<description><![CDATA[см. сюда: <a href="http://alto.goloskarpat.info/blog/kuku/" rel="nofollow">alto.goloskarpat.info/blog/kuku/</a><br/>
текст: «kukuk::::kuku::::kukuku» — показывает в каком мы блоге.<br/>
идем в WidgetBlogs.class.php и там ставим $sEvent =…<br/>
а потом уже делаем то что надо]]></description>
					<pubDate>Fri, 17 May 2013 17:59:48 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1333)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1333</guid>
					<link>http://79.174.14.219/92.html#comment1333</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[слона-то я и не заметил… не увидел, что виджет в WidgetBlogs.class.php формируется...<br/>
<br/>
Огромное спасибо!]]></description>
					<pubDate>Fri, 17 May 2013 18:08:30 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1329)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1329</guid>
					<link>http://79.174.14.219/92.html#comment1329</link>
					<author>reverty@gmail.com</author>
					<description><![CDATA[В ЛС можно вызвать блок передав в него параметры, но это вызов блока из экшена, а не из кофигов $this-&gt;Viewer_AddBlock('right','indexmatches',array('plugin'=&gt;'vs', 'oBlog'=&gt;$oBlog),150);]]></description>
					<pubDate>Fri, 17 May 2013 17:19:18 +0400</pubDate>
									</item>
							<item>
					<title>Как в Alto передать Event в шаблон блока? [РЕШЕНО] (comment #1331)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/92/#comment1331</guid>
					<link>http://79.174.14.219/92.html#comment1331</link>
					<author>ds.grishin@yandex.ru</author>
					<description><![CDATA[мне не блок надо вызывать (он вызван). Мне нужно, чтобы в блоке название блога подсвечивалось фоном, когда юзер смотрит этот блог.]]></description>
					<pubDate>Fri, 17 May 2013 17:29:24 +0400</pubDate>
									</item>
					</channel>
	</rss>
