<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://pedroposada.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Pedro Posada&#039;s Blog</title>
 <link>http://pedroposada.com/category/blog/menu-system</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Setting up MENU_LOCAL_TASK for secondary tabs</title>
 <link>http://pedroposada.com/blog/setting-menu_local_task-secondary-tabs.html</link>
 <description>&lt;p&gt;How to create secondary local tasks or secondary tabs, also called sub tab (second level) menu items.&lt;/p&gt;
&lt;p&gt;It was not clear to me why it was necessary to create a MENU_DEFAULT_LOCAL_TASK in every tab level. In order to tell drupal&#039;s menu system to show primary and secondary local tasks, there is a need to create a default local task every time. The default local task points to the same page as the parent item but has a path longer by one element.&lt;/p&gt;
&lt;p&gt;Parent path:&lt;br /&gt; &#039;admin&#039;&lt;/p&gt;
&lt;p&gt;Default primary local task path:&lt;br /&gt; &#039;admin/home&#039;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/setting-menu_local_task-secondary-tabs.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/setting-menu_local_task-secondary-tabs.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-6">drupal 6</category>
 <category domain="http://pedroposada.com/category/blog/menu-system">menu system</category>
 <pubDate>Fri, 27 Mar 2009 16:02:53 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">58 at http://pedroposada.com</guid>
</item>
</channel>
</rss>
