<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>chirale &#187; secondary links</title>
	<atom:link href="http://chirale.wordpress.com/tag/secondary-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://chirale.wordpress.com</link>
	<description>watashi no yume...</description>
	<lastBuildDate>Mon, 07 Dec 2009 08:58:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chirale.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/913d290334c442dca8a7360d648ac1bd?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>chirale &#187; secondary links</title>
		<link>http://chirale.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chirale.wordpress.com/osd.xml" title="chirale" />
		<item>
		<title>Tertiary links on Drupal</title>
		<link>http://chirale.wordpress.com/2008/07/10/tertiary-links-on-drupal/</link>
		<comments>http://chirale.wordpress.com/2008/07/10/tertiary-links-on-drupal/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 09:11:51 +0000</pubDate>
		<dc:creator>chirale</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[page.tpl.php]]></category>
		<category><![CDATA[secondary links]]></category>
		<category><![CDATA[tertiary links]]></category>
		<category><![CDATA[zen theme]]></category>

		<guid isPermaLink="false">http://chirale.wordpress.com/?p=111</guid>
		<description><![CDATA[Update: check Tertiary links / 2: tree workaround before this. That&#8217;s a wiser solution in many cases.

Tested on:

Drupal 5.x
Zen subtheme

If you use primary and secondary links in distinct blocks/area of a page, you can add the ability to browse the third navigation level. Just hack your page.tpl.php.

&#60;div id="secondary"&#62; &#60;?php
#display tertiary links menu on 2nd level
$tertiary_links=menu_primary_links(3, variable_get('menu_primary_menu', [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chirale.wordpress.com&blog=1488255&post=111&subd=chirale&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Update</strong>: check <strong><a title="tree workaround&quot;" rel="bookmark" href="../2008/09/26/tertiary-links-2-tree-workaround/">Tertiary links / 2: tree workaround</a></strong> before this. That&#8217;s a wiser solution in many cases.<a title="tree workaround&quot;" rel="bookmark" href="../2008/09/26/tertiary-links-2-tree-workaround/"><br />
</a></p>
<p>Tested on:</p>
<ul>
<li>Drupal 5.x</li>
<li>Zen subtheme</li>
</ul>
<p>If you use primary and secondary links in distinct blocks/area of a page, you can add the ability to browse the third navigation level. Just hack your <strong>page.tpl.php</strong>.</p>
<p><code><br />
&lt;div id="secondary"&gt;</code><code> &lt;?php<br />
#display tertiary links menu on 2nd level<br />
$tertiary_links=menu_primary_links(3, variable_get('menu_primary_menu', 0) );<br />
#display secondary links menu on 1st level<br />
if($my_secondary_links):?&gt;<br />
&lt;?php<br />
print theme('links', $my_secondary_links, array('class' =&gt; 'links tertiary-links'));<br />
?&gt;<br />
elseif ($secondary_links): ?&gt;<br />
&lt;?php<br />
print theme('links', $secondary_links);<br />
?&gt;<br />
&lt;/div&gt; &lt;!-- /#secondary --&gt;<br />
&lt;?php endif; ?&gt;</code></p>
<p>See also:</p>
<ul>
<li><a href="http://www.freesoftwaremagazine.com/books/drupal_tricks/tertiary_menu" target="_blank">Tertiary menu in Drupal</a> A very useful howto (I saw this trick here)</li>
<li><a href="http://drupal.org/node/269286" target="_blank">Secondary link and third level</a> Topic on drupal.org</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chirale.wordpress.com/111/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chirale.wordpress.com/111/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chirale.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chirale.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chirale.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chirale.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chirale.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chirale.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chirale.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chirale.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chirale.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chirale.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chirale.wordpress.com&blog=1488255&post=111&subd=chirale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chirale.wordpress.com/2008/07/10/tertiary-links-on-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/12a67456dc1db7deec545e23d51e0c8c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chirale</media:title>
		</media:content>
	</item>
		<item>
		<title>Customize links menu in Drupal</title>
		<link>http://chirale.wordpress.com/2008/02/29/customize-links-menu-in-drupal/</link>
		<comments>http://chirale.wordpress.com/2008/02/29/customize-links-menu-in-drupal/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 20:42:11 +0000</pubDate>
		<dc:creator>chirale</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[primary links]]></category>
		<category><![CDATA[secondary links]]></category>

		<guid isPermaLink="false">http://chirale.wordpress.com/?p=48</guid>
		<description><![CDATA[Tested on: Zen theme, Drupal 5.7

Copy function theme_links from includes/themes.inc
Paste it into your template.php
Rename it in theme_primarylinks (or anything you want)
In your page.tpl.php, change

print theme(&#8216;links&#8217;, $primary_links);
to print theme(&#8216;primarylinks&#8217;, $primary_links);


Apply some changes to theme_primarylinks to customize your primary links.

According to theme manual, for any first argument passed to theme function a theme_functionname function is called.
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chirale.wordpress.com&blog=1488255&post=48&subd=chirale&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Tested on: <a href="http://drupal.org/project/zen" title="Zen Theme">Zen</a> theme, Drupal 5.7</p>
<ol>
<li>Copy function theme_links from includes/themes.inc</li>
<li>Paste it into your template.php</li>
<li>Rename it in theme_primarylinks (or anything you want)</li>
<li>In your page.tpl.php, change
<ol>
<li>print theme(&#8216;links&#8217;, $primary_links);</li>
<li>to print theme(&#8216;primarylinks&#8217;, $primary_links);</li>
</ol>
</li>
<li>Apply some changes to theme_primarylinks to customize your primary links.</li>
</ol>
<p>According to <a href="http://api.drupal.org/api/function/theme/5" title="Drupal Theme API manual">theme manual</a>, for any first argument passed to theme function a <i>theme_functionname</i> function is called.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chirale.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chirale.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chirale.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chirale.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chirale.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chirale.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chirale.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chirale.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chirale.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chirale.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chirale.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chirale.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chirale.wordpress.com&blog=1488255&post=48&subd=chirale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chirale.wordpress.com/2008/02/29/customize-links-menu-in-drupal/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/12a67456dc1db7deec545e23d51e0c8c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chirale</media:title>
		</media:content>
	</item>
	</channel>
</rss>