<?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/153/"/>
	<updated>2013-11-28T08:41:24Z</updated>
	<generator>PunBB</generator>
	<id>https://s2cms.ru/forum/topic/153/</id>
		<entry>
			<title type="html"><![CDATA[Re: Меню]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1018/#p1018"/>
			<content type="html"><![CDATA[<p>Можно написать в шаблоне &lt;?php echo S2_PATH; ?&gt; или &lt;?php echo S2_BASE_URL; ?&gt; (во втором случае используется путь с доменом). В шаблонах стандартной темы примерно так и делается: <a href="http://s2cms.ru/trac/browser/trunk/_styles/zeta/templates/site.php#L8">http://s2cms.ru/trac/browser/trunk/_sty … ite.php#L8</a></p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2013-11-28T08:41:24Z</updated>
			<id>https://s2cms.ru/forum/post/1018/#p1018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Меню]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1016/#p1016"/>
			<content type="html"><![CDATA[<p>Прописал в шаблоне относительные ссылки (ну чтоб и на локали и в сети работали). Но на странице ключевых слов (тегов) пути длинные от корня сайта. Ссылки через ../ не достают. Да и на других страницах разной вложенности нужно писать разные пути.</p><p>Вопрос такой. Какую метку или скрипт можно использовать в шаблонах для подстановки в ссылку адреса сервера, чтобы писалось соответственно на локали localhost/mysite/page1, а в сети http://mysite/page1</p>]]></content>
			<author>
				<name><![CDATA[den]]></name>
				<uri>https://s2cms.ru/forum/user/105/</uri>
			</author>
			<updated>2013-11-28T08:06:14Z</updated>
			<id>https://s2cms.ru/forum/post/1016/#p1016</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Меню]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/743/#p743"/>
			<content type="html"><![CDATA[<p>Проще всего прописать код меню вручную в шаблонах. Вот еще обсуждение по теме: <a href="http://s2cms.ru/forum/topic/127/">http://s2cms.ru/forum/topic/127/</a></p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2013-02-02T09:18:53Z</updated>
			<id>https://s2cms.ru/forum/post/743/#p743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Меню]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/741/#p741"/>
			<content type="html"><![CDATA[<p>Хочу сделать горизонтальное меню, стандартное, типа: о нас, контакты, и так далее.</p><p>Из чего лучше и быстрее его сделать? Использовать правую колонку, которая на сайте после установки движка, где подразделы?</p><p>Или лучше взять для этого эти строчки &quot;Раздел 1 → Страница 1&quot; над записью?</p>]]></content>
			<author>
				<name><![CDATA[ans]]></name>
				<uri>https://s2cms.ru/forum/user/75/</uri>
			</author>
			<updated>2013-02-02T08:11:06Z</updated>
			<id>https://s2cms.ru/forum/post/741/#p741</id>
		</entry>
</feed>
