<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Движок сайтов S2 — Куда добавлять скрипты?]]></title>
	<link rel="self" href="https://s2cms.ru/forum/feed/atom/topic/59"/>
	<updated>2011-10-20T16:42:02Z</updated>
	<generator>PunBB</generator>
	<id>https://s2cms.ru/forum/topic/59/</id>
		<entry>
			<title type="html"><![CDATA[Re: Куда добавлять скрипты?]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/293/#p293"/>
			<content type="html"><![CDATA[<p>Спасибо. А то я собирался отдельную папку js делать. В стилях, действительно, удобнее.</p>]]></content>
			<author>
				<name><![CDATA[tataRen]]></name>
				<uri>https://s2cms.ru/forum/user/16/</uri>
			</author>
			<updated>2011-10-20T16:42:02Z</updated>
			<id>https://s2cms.ru/forum/post/293/#p293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Куда добавлять скрипты?]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/291/#p291"/>
			<content type="html"><![CDATA[<p>Можно куда угодно. Я бы положил в папку со стилем (в вашем случае, кажется, _styles/lib).</p><p>Потом в шаблоны (в секцию &lt;head&gt; после подключения CSS) нужно добавить такую строчку:<br /></p><div class="codebox"><pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo S2_BASE_URL.&#039;/_styles/&#039;.S2_STYLE ?&gt;/jquery.js&quot;&gt;&lt;/script&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-10-20T15:56:38Z</updated>
			<id>https://s2cms.ru/forum/post/291/#p291</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Куда добавлять скрипты?]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/290/#p290"/>
			<content type="html"><![CDATA[<p>Хочу добавить скрипт jquery.js. Куда надо закидывать файл скрипта?</p>]]></content>
			<author>
				<name><![CDATA[tataRen]]></name>
				<uri>https://s2cms.ru/forum/user/16/</uri>
			</author>
			<updated>2011-10-20T15:40:20Z</updated>
			<id>https://s2cms.ru/forum/post/290/#p290</id>
		</entry>
</feed>
