<?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/1434/</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 #24497)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24497</guid>
					<link>http://79.174.14.219/1434.html#comment24497</link>
					<author>ieasyweb@myttk.ru</author>
					<description><![CDATA[<pre class="prettyprint"><code>&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() { 
$(&quot;a[href^=http]&quot;).each(
function(){
if(this.href.indexOf(location.hostname) == -1) {
$(this).attr('target', '_blank');
}
})
});
&lt;/script&gt;</code></pre><br/>
думаю, так проще]]></description>
					<pubDate>Thu, 05 Nov 2015 17:15:23 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24498)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24498</guid>
					<link>http://79.174.14.219/1434.html#comment24498</link>
					<author>jani4ik@ya.ru</author>
					<description><![CDATA[спасибо, но хотелось бы в самом движке это реализовать.<br/>
я так понимаю, копать нужно в сторону engine/libs/php-qevix-0.3.1/qevix.php?]]></description>
					<pubDate>Thu, 05 Nov 2015 17:18:59 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24499)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24499</guid>
					<link>http://79.174.14.219/1434.html#comment24499</link>
					<author>ieasyweb@myttk.ru</author>
					<description><![CDATA[возможно<br/>
у меня jevix работает, и я слабо представляю, как его научить отличать внешнюю ссылку от остальных]]></description>
					<pubDate>Thu, 05 Nov 2015 17:26:12 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24500)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24500</guid>
					<link>http://79.174.14.219/1434.html#comment24500</link>
					<author>jani4ik@ya.ru</author>
					<description><![CDATA[окей, давай зайдем с другого боку ))<br/>
есть такая опция в админке &quot;«Прятать» ссылки в тексте статей от поисковиков&quot;, она расставляет всем внешним ссылкам rel=«nofollow».<br/>
можно ли подсунуть к нему атрибут <strong>target=&quot;_blank&quot;</strong>, а главное где это можно сделать в коде?]]></description>
					<pubDate>Thu, 05 Nov 2015 17:35:20 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24501)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24501</guid>
					<link>http://79.174.14.219/1434.html#comment24501</link>
					<author>ieasyweb@myttk.ru</author>
					<description><![CDATA[да, точно же…<br/>
<em>engine\classes\modules\text\parser\TextParserJevix.class.php Line 44<br/>
engine\classes\modules\text\Text.class.php Line 543<br/>
engine\libs\Jevix\jevix.class.php Line 160</em>]]></description>
					<pubDate>Thu, 05 Nov 2015 17:45:29 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24502)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24502</guid>
					<link>http://79.174.14.219/1434.html#comment24502</link>
					<author>jani4ik@ya.ru</author>
					<description><![CDATA[боюсь моих знаний в php не хватит, чтоб разораться с данными файлами…]]></description>
					<pubDate>Thu, 05 Nov 2015 18:00:20 +0300</pubDate>
									</item>
							<item>
					<title>Внешние ссылки в новом окне (comment #24503)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1434/#comment24503</guid>
					<link>http://79.174.14.219/1434.html#comment24503</link>
					<author>ieasyweb@myttk.ru</author>
					<description><![CDATA[я тоже не дока))<br/>
в TextParserJevix.class.php Line 44 повторил строку с заменой атрибута, т.е. стало:<br/>
<pre class="prettyprint"><code>$this-&gt;cfgSetTagParamDefault('a', 'rel', 'nofollow', true);
$this-&gt;cfgSetTagParamDefault('a', 'target', '_blank', true);</code></pre><br/>
работает только при включенном «прятать ссылки» и, разумеется, только на вновь создаваемые топики влияет]]></description>
					<pubDate>Thu, 05 Nov 2015 18:21:59 +0300</pubDate>
									</item>
					</channel>
	</rss>
