<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум АлаичЪ'а о SEO - Изменение speedbar]]></title>
	<link rel="self" href="https://talk.alaev.info/feed/atom/topic/574/" />
	<updated>2013-03-12T03:06:35Z</updated>
	<generator>PunBB</generator>
	<id>https://talk.alaev.info/topic/574/</id>
		<entry>
			<title type="html"><![CDATA[Re: Изменение speedbar]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/4110/#p4110" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>dim пишет:</cite><blockquote><p>А если у меня на одном сайте</p></blockquote></div><p>А если - не важно <img src="https://talk.alaev.info/img/smilies/smile.png" width="15" height="15" alt="smile" /> Конструкция не изменится...</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://talk.alaev.info/user/2/</uri>
			</author>
			<updated>2013-03-12T03:06:35Z</updated>
			<id>https://talk.alaev.info/post/4110/#p4110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Изменение speedbar]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/4100/#p4100" />
			<content type="html"><![CDATA[<p>Спасибо огромное. А можно еще вопрос?</p><p>А если у меня на одном сайте не:</p><div class="quotebox"><blockquote><p>$s_navigation = &quot;&lt;a href=\&quot;{$config[&#039;http_home_url&#039;]}\&quot;&gt;&quot; . $config[&#039;short_title&#039;] . &quot;&lt;/a&gt;&quot;;</p></blockquote></div><p>А:</p><div class="quotebox"><blockquote><p>$s_navigation = &quot;&lt;span typeof=\&quot;v:Breadcrumb\&quot;&gt;&lt;a href=\&quot;{$config[&#039;http_home_url&#039;]}\&quot; rel=\&quot;v:url\&quot; property=\&quot;v:title\&quot;&gt;&quot; . $config[&#039;short_title&#039;] . &quot;&lt;/a&gt;&lt;/span&gt;&quot;;</p></blockquote></div><p>Как тогда должна выглядеть конструкция?</p>]]></content>
			<author>
				<name><![CDATA[dim]]></name>
				<uri>https://talk.alaev.info/user/58/</uri>
			</author>
			<updated>2013-03-11T10:49:02Z</updated>
			<id>https://talk.alaev.info/post/4100/#p4100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Изменение speedbar]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/4097/#p4097" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>$s_navigation = &quot;&lt;a href=\&quot;{$config[&#039;http_home_url&#039;]}\&quot;&gt;&quot; . $config[&#039;short_title&#039;] . &quot;&lt;/a&gt;&quot;;</code></pre></div><p>Замени на:<br /></p><div class="codebox"><pre><code>$s_navigation = $config[&#039;short_title&#039;];</code></pre></div>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://talk.alaev.info/user/2/</uri>
			</author>
			<updated>2013-03-11T07:19:01Z</updated>
			<id>https://talk.alaev.info/post/4097/#p4097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Изменение speedbar]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/4088/#p4088" />
			<content type="html"><![CDATA[<p>То что вы хотите, меняется не в етом куске кода!<br />Здесь просто сортировка для вывода, а не само формирование формирование либо чуть выше, либо в другом файле, себе делал когдато еще на дле 8.5 сейчас и не вспомню уже нужно копать, а 9.8 под рукой нет!</p>]]></content>
			<author>
				<name><![CDATA[Hooligan]]></name>
				<uri>https://talk.alaev.info/user/92/</uri>
			</author>
			<updated>2013-03-10T10:54:22Z</updated>
			<id>https://talk.alaev.info/post/4088/#p4088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Изменение speedbar]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/4083/#p4083" />
			<content type="html"><![CDATA[<p>Приветствую.</p><p>Появилась необходимость сделать следующее.</p><p>1. Либо полностью убрать главную и ссылку на нее из speedbar.</p><p>2. Либо убрать только ссылку, а название главной оставить в speedbar, сделает его неактивным, в виде обычного текста.</p><p>3. Либо, если возможно, изменить адрес главной, который отображается в speedbar. Это сделать, скорее всего, не получится из-за структуры. Изменить в настройках системы не предлагать. <img src="https://talk.alaev.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Кто подскажет, что и как именно изменять в файле engine.php, а точнее в его последней части кода, отвечающей за формирование speedbar.</p><p>DLE 9.8, код выглядит следующим образом:</p><div class="quotebox"><blockquote><p>/*<br />=====================================================<br /> Формирование speedbar <br />=====================================================<br />*/<br />if ($config[&#039;speedbar&#039;] and ! isset ( $view_template )) {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; $s_navigation = &quot;&lt;a href=\&quot;{$config[&#039;http_home_url&#039;]}\&quot;&gt;&quot; . $config[&#039;short_title&#039;] . &quot;&lt;/a&gt;&quot;;</p><p>&nbsp; &nbsp; if (intval($category_id)) $s_navigation .= &quot; &amp;raquo; &quot; . get_categories ( intval($category_id) );<br />&nbsp; &nbsp; elseif ($do == &#039;tags&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; if ($config[&#039;allow_alt_url&#039;] == &quot;yes&quot;) $s_navigation .= &quot; &amp;raquo; &lt;a href=\&quot;&quot; . $config[&#039;http_home_url&#039;] . &quot;tags/\&quot;&gt;&quot; . $lang[&#039;tag_cloud&#039;] . &quot;&lt;/a&gt; &amp;raquo; &quot; . $tag;<br />&nbsp; &nbsp; &nbsp; &nbsp; else $s_navigation .= &quot; &amp;raquo; &lt;a href=\&quot;?do=tags\&quot;&gt;&quot; . $lang[&#039;tag_cloud&#039;] . &quot;&lt;/a&gt; &amp;raquo; &quot; . $tag;</p><p>&nbsp; &nbsp; } elseif ($nam_e) $s_navigation .= &quot; &amp;raquo; &quot; . $nam_e;</p><p>&nbsp; &nbsp; if ($titl_e) $s_navigation .= &quot; &amp;raquo; &quot; . $titl_e;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; $tpl-&gt;load_template ( &#039;speedbar.tpl&#039; );<br />&nbsp; &nbsp; $tpl-&gt;set ( &#039;{speedbar}&#039;, &#039;&lt;span id=\&#039;dle-speedbar\&#039;&gt;&#039; . stripslashes ( $s_navigation ) . &#039;&lt;/span&gt;&#039; );<br />&nbsp; &nbsp; $tpl-&gt;compile ( &#039;speedbar&#039; );<br />&nbsp; &nbsp; $tpl-&gt;clear ();</p><p>}</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[dim]]></name>
				<uri>https://talk.alaev.info/user/58/</uri>
			</author>
			<updated>2013-03-09T18:41:09Z</updated>
			<id>https://talk.alaev.info/post/4083/#p4083</id>
		</entry>
</feed>
