<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Движок сайтов S2 — s2_menu]]></title>
	<link rel="self" href="https://s2cms.ru/forum/feed/atom/topic/268/"/>
	<updated>2015-06-11T00:40:19Z</updated>
	<generator>PunBB</generator>
	<id>https://s2cms.ru/forum/topic/268/</id>
		<entry>
			<title type="html"><![CDATA[Re: s2_menu]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1225/#p1225"/>
			<content type="html"><![CDATA[<p>Так как можно организовать такое меню, кто то сможет помочь?</p>]]></content>
			<author>
				<name><![CDATA[dr_dren]]></name>
				<uri>https://s2cms.ru/forum/user/95/</uri>
			</author>
			<updated>2015-06-11T00:40:19Z</updated>
			<id>https://s2cms.ru/forum/post/1225/#p1225</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: s2_menu]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1224/#p1224"/>
			<content type="html"><![CDATA[<p>Да, всех. Со структурой чуть ошибся это да)) Сегодня понял пока стили писал)</p><p>Грубо говоря копия дерева сайта как в админке. Чтобы все пункты были а в какой сейчас нахожусь присваивался класс active.</p><br /><p>Никак не могу php разобраться, при переходе какие то остаются страницы, а какие то пропадают.( Причем когда начинает пропадать, пропадают все предшевствующие)</p>]]></content>
			<author>
				<name><![CDATA[dr_dren]]></name>
				<uri>https://s2cms.ru/forum/user/95/</uri>
			</author>
			<updated>2015-06-07T18:58:32Z</updated>
			<id>https://s2cms.ru/forum/post/1224/#p1224</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: s2_menu]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1223/#p1223"/>
			<content type="html"><![CDATA[<p>Вам нужна такая структура (теги ul нельзя вкладывать друг в друга, нужно их чередовать ul &gt; li &gt; ul &gt; li):</p><div class="codebox"><pre><code>&lt;ul&gt;
&lt;li&gt;Обычный пункт&lt;/li&gt;
&lt;li&gt;
        Сложный пункт с подпапками
        &lt;ul&gt;
                &lt;li&gt;...&lt;/li&gt;
        &lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</code></pre></div><p>Сколько уровней вложенности вы хотите показывать в меню? Всех потомков текущей страницы?</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2015-06-07T18:33:59Z</updated>
			<id>https://s2cms.ru/forum/post/1223/#p1223</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[s2_menu]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/1222/#p1222"/>
			<content type="html"><![CDATA[<p>Здравствуйте, как можно организовать, чтобы все subarticles, articles, subsections и все что связано со структурой навигации сайта,<br />отоброжались вида <br />&lt;ul&gt;<br />&lt;li&gt;Обычный пункт&lt;/li&gt;<br />&lt;li&gt;Сложный пункт с подпапками&lt;/li&gt;<br />&lt;ul&gt;&lt;li&gt;Подпапка&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;li&gt;Еще одна подпапка внутри подпапки&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/li&gt;<br />&lt;/ul&gt;<br />&lt;/ul&gt;</p><p>А сейчас получается они разделяются на сабдиректории и артиклы и саб артиклы.</p><p>Как понимаю править нужно в articles.php на метке &lt;!--s2_menu--&gt;&nbsp; Но тогда при обновлении все слетит, да и что то не особо получается</p><p>Если заходить на подпапку предыдущие папки(ссылки) исчезают.</p>]]></content>
			<author>
				<name><![CDATA[dr_dren]]></name>
				<uri>https://s2cms.ru/forum/user/95/</uri>
			</author>
			<updated>2015-06-06T23:55:39Z</updated>
			<id>https://s2cms.ru/forum/post/1222/#p1222</id>
		</entry>
</feed>
