<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>SeeSaw's blog: The easiest way to add tabbed navigation to your Rails app!</title>
    <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>...read our minds.</description>
    <item>
      <title>The easiest way to add tabbed navigation to your Rails app!</title>
      <description>&lt;p&gt;&lt;b&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt; Feb 01, 2007:  the Tabnav has been updated in order to work wit Rails 1.2,   read &lt;a href="http://blog.seesaw.it/articles/2007/02/01/tabnav-for-rails-1-2"&gt;this post&lt;/a&gt; fom more info.&lt;/b&gt;&lt;/p&gt;


	&lt;p&gt;Hi guys, during our development efforts we needed tabbed navigations. Well, after struggling with the acts_as_wizard plugin (you can find it in the &lt;a href="http://blog.seesaw.it/pages/toolbox"&gt;toolbox&lt;/a&gt;) we decided to implement yet another rails plugin, and we think this time it&amp;#8217;s even easier  to use and someway plain cool.&lt;/p&gt;


	&lt;p&gt;Tabnav it&amp;#8217;s so far the easiest way to build tabbed navigation like this:&lt;/p&gt;


&lt;div style="" class="flickrplugin"&gt;&lt;a href="http://www.flickr.com/photos/seesawstaff/196253571"&gt;&lt;img src="http://farm1.static.flickr.com/61/196253571_c7cf688f2b.jpg" width="428" height="265" alt="A basic Tabnav..." title="A basic Tabnav..."/&gt;&lt;/a&gt;&lt;p class="caption" style="width:428px"&gt;The Tabnav Rails plugin provides nice tabbed navigation out of the box &lt;/p&gt;&lt;/div&gt;

	&lt;p&gt;All this magic it&amp;#8217;s done by this fragment of code put inside my layout:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="punct"&gt;&amp;lt;%=&lt;/span&gt;&lt;span class="string"&gt; start_tabnav :main %&amp;gt;
&amp;lt;%&lt;/span&gt;&lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="attribute"&gt;@content_for_layout&lt;/span&gt; &lt;span class="punct"&gt;%&amp;gt;&lt;/span&gt;&lt;span class="string"&gt;
&amp;lt;%= end_tabnav %&lt;/span&gt;&lt;span class="punct"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Sounds cool? keep reading&amp;#8230;&lt;/p&gt;
&lt;p&gt;Where does the start_tabnav gets informations  for tabs rendering? The :main Symbol let the &lt;em&gt;start_tabnav&lt;/em&gt; method know to look for a special MainTabnav class where all the magic happens, so in my model directory I&amp;#8217;ve got a &lt;em&gt;main_tabnav.rb&lt;/em&gt; file containing something like:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="keyword"&gt;class &lt;/span&gt;&lt;span class="class"&gt;MainTabnav&lt;/span&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="constant"&gt;Tabnav&lt;/span&gt;&lt;span class="punct"&gt;::&lt;/span&gt;&lt;span class="constant"&gt;Base&lt;/span&gt;       
  &lt;span class="ident"&gt;add_tab&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; 
    &lt;span class="ident"&gt;named&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;Dashboard&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;titled&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;Wooooow! what a wonderful tabbed navigation!&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;links_to&lt;/span&gt; &lt;span class="symbol"&gt;:controller&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;dashboard&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
  &lt;span class="keyword"&gt;end&lt;/span&gt;

  &lt;span class="ident"&gt;add_tab&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; 
    &lt;span class="ident"&gt;named&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;Users&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;links_to&lt;/span&gt; &lt;span class="symbol"&gt;:controller&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;users&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
  &lt;span class="keyword"&gt;end&lt;/span&gt; 

  &lt;span class="ident"&gt;add_tab&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; 
    &lt;span class="ident"&gt;named&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;Companies&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;links_to&lt;/span&gt; &lt;span class="symbol"&gt;:controller&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;companies&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;highlights_on&lt;/span&gt; &lt;span class="symbol"&gt;:controller&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;dashboard&lt;/span&gt;&lt;span class="punct"&gt;',&lt;/span&gt; &lt;span class="symbol"&gt;:action&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;statistics&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
  &lt;span class="keyword"&gt;end&lt;/span&gt; 

  &lt;span class="ident"&gt;add_tab&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; 
    &lt;span class="ident"&gt;named&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;Admin&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;links_to&lt;/span&gt; &lt;span class="symbol"&gt;:controller&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;companies&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;show_if&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;params[:admin] == true&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;
  &lt;span class="keyword"&gt;end&lt;/span&gt;      
&lt;span class="keyword"&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;This way you can manage your tabs in a view-indipendent manner. The MainTabnav class should be pretty self-explanatory&amp;#8230; but let me point out a few nice features:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;The &lt;em&gt;titled&lt;/em&gt; method gives your tabs a html &amp;#8216;title&amp;#8217; attribute so you can have tooltips over your tab link.&lt;/li&gt;
		&lt;li&gt;The &lt;em&gt;links_to&lt;/em&gt; method creates the tab&amp;#8217;s link. You can use the same options as the usual ActionView&amp;#8217;s &lt;em&gt;url_for&lt;/em&gt;. The tab will be automatically highlighted (with the help of a &lt;span class="caps"&gt;CSS&lt;/span&gt; class) if the page you&amp;#8217;re viewing matches the &lt;em&gt;links_to&lt;/em&gt; options. So if you&amp;#8217;re linking to :controller =&amp;gt; &amp;#8216;dashboard&amp;#8217;, you can be sure every dashboard&amp;#8217;s action will keep the tab highlighted. If you&amp;#8217;re linking to :controller =&amp;gt; &amp;#8216;dashboard&amp;#8217;, :action =&amp;gt; &amp;#8216;index&amp;#8217; only the index action will highlight it.&lt;/li&gt;
		&lt;li&gt;You can add more highlighting rules using the &lt;em&gt;highligths_on&lt;/em&gt; method. This could be useful if you have more than one controller that should highlight the same tab (eg: think about an estimate wizard involving multliple controllers, keeping an &amp;#8216;estimates&amp;#8217; tab highlighted).&lt;/li&gt;
		&lt;li&gt;You can conditionally choose to show or not show a tab given a certain condition with the &lt;em&gt;show_if&lt;/em&gt; method. The string parameter given will be evaluated in the view context, so you can show admin pages tabs only to administrators and so on.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h3&gt;It&amp;#8217;s cool! Tell me how to use it!&lt;/h3&gt;


	&lt;p&gt;Install it from your rails base directory with this:
&lt;span class="shell"&gt;ruby script/plugin install svn://svn.seesaw.it/tabnav/tags/0.1&lt;/span&gt;&lt;/p&gt;


	&lt;p&gt;And generate how many tabbed navigations you like with:&lt;/p&gt;


	&lt;p&gt;&lt;span class="shell"&gt;ruby script/generate tabnav Main&lt;/span&gt;&lt;/p&gt;


	&lt;p&gt;Of course you can substitute &amp;#8216;Main&amp;#8217; with the desired prefix of your tabnav class.&lt;/p&gt;


	&lt;p&gt;Then configure your Tabnav model as you desire and include a start_tabnav/end_tabnav statement in your layout or view files.&lt;/p&gt;


	&lt;h3&gt;Can I customize the generated &lt;span class="caps"&gt;HTML&lt;/span&gt;/CSS?&lt;/h3&gt;


	&lt;p&gt;The tabnav generator will create a partial file inside  your view/tabnav directory. There you can customize the html and the inline &lt;span class="caps"&gt;CSS&lt;/span&gt; used by your tabnav. You can move the inline &lt;span class="caps"&gt;CSS&lt;/span&gt; to you stylesheet file too.&lt;/p&gt;


	&lt;h3&gt;Can I nest navigations?&lt;/h3&gt;


	&lt;p&gt;Yes of course, with tabnav you can easily do something like:&lt;/p&gt;


&lt;div style="" class="flickrplugin"&gt;&lt;a href="http://www.flickr.com/photos/seesawstaff/196286898"&gt;&lt;img src="http://farm1.static.flickr.com/62/196286898_4700d000ff.jpg" width="412" height="320" alt="Nested Tabnavs" title="Nested Tabnavs"/&gt;&lt;/a&gt;&lt;p class="caption" style="width:412px"&gt;You can easily nest tabnavs. They rely on their own model, partial and CSS stylesheet. &lt;/p&gt;&lt;/div&gt;

	&lt;h3&gt;Another little trick&amp;#8230;&lt;/h3&gt;


	&lt;p&gt;Last but not least you can have tabbed navigations without having a whole &amp;#8216;containing box&amp;#8217; using just a:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="punct"&gt;&amp;lt;%=&lt;/span&gt;&lt;span class="string"&gt; tabnav :main %&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;This way you can do stuff like:&lt;/p&gt;


&lt;div style="" class="flickrplugin"&gt;&lt;a href="http://www.flickr.com/photos/seesawstaff/196293735"&gt;&lt;img src="http://farm1.static.flickr.com/74/196293735_2f8e80d749.jpg" width="500" height="288" alt="Tabnavs with/without boxes." title="Tabnavs with/without boxes."/&gt;&lt;/a&gt;&lt;p class="caption" style="width:500px"&gt;You can have just navigation tabs without the whole box attached under them&lt;/p&gt;&lt;/div&gt;

	&lt;p&gt;That&amp;#8217;s it right now guys. Hope you find it useful!
Don&amp;#8217;t forget we need feedback, so feel free to comment on this post or send us a private &lt;a href="mailto:staff@seesaw.it"&gt;email&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;If you want to keep in touch with further developments  you can even subscribe to our &lt;a href="http://blog.seesaw.it/xml/rss20/feed.xml"&gt;rss feed&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;This plugin is part of the SeeSaw&amp;#8217;s &lt;a href="http://blog.seesaw.it/pages/toolbox"&gt;toolbox&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;having trouble downloading the plugin? You can install it without subversion:&lt;/p&gt;


	&lt;p&gt;In vendor/plugins, create directory tabnav. In that directory download
end extract &lt;a href="http://svn.seesaw.it/pkgs/tabnav.tar.gz"&gt;this&lt;/a&gt;!&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Due to a server migration, we&amp;#8217;ve moved our repositories to a new location&amp;#8230; see &lt;a href="http://blog.seesaw.it/articles/2006/11/18/tabnav-svn-repo-has-changed"&gt;this&lt;/a&gt; for more info.&lt;/p&gt;</description>
      <pubDate>Sun, 23 Jul 2006 20:09:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:df5ef49d-42a9-4447-a141-81f275f3fbc6</guid>
      <author>Paolo</author>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app</link>
      <category>Web</category>
      <category>Ruby + Rails</category>
      <category>Tips &amp; Tricks</category>
      <category>tabnav</category>
      <category>toolbox</category>
      <category>Ruby On Rails</category>
      <category>plugin</category>
      <trackback:ping>http://blog.seesaw.it/articles/trackback/839</trackback:ping>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Steve</title>
      <description>&lt;p&gt;Of course that only works in the development environment. I ended up having to just do the dynamic tabs manually. Sorry, didn&amp;#8217;t have time to go in and figure it out this time&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 03:48:28 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:00c8ff4d-4aa8-4087-8c86-5040496ab99b</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-421797</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Steve</title>
      <description>&lt;p&gt;[marco and paolo]&lt;/p&gt;


	&lt;p&gt;You can reload the tabnav.rb file without restarting the server the same way you reload models, by simply adding &amp;#8220;include Reloadable&amp;#8221; to it&amp;#8230;&lt;/p&gt;


	&lt;p&gt;class ExampleTabnav &amp;lt; Tabnav::Base   
 include Reloadable &lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;add_tab do
  blah
end&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;end&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 16:12:56 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a405ac7b-d1fa-46f2-8250-0ccafcee7c3f</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-420779</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by manoharkundety@gmail.com</title>
      <description>&lt;p&gt;Hi Guys,right now I am working on Tabs . I got them but I am having a problem in it. It is like this : whenever I click on the Tab it is navigating to the controller&amp;#8217;s index method . Here I want the data of the Tab with respect to its clicking .And help me in writing the Actions with respect to Tabs. Hope you all understood my problem and please help in fixing this .&lt;/p&gt;


	&lt;p&gt;Thanks &amp;#38; regards ,
Manohar
&lt;a href="mailto:manoharkundety@gmail.com" rel="nofollow"&gt;manoharkundety@gmail.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 09 Apr 2008 12:58:56 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:002ca1f7-0ec1-491a-b561-143277ef9f2b</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-384796</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Kitty</title>
      <description>&lt;p&gt;I want student name in top of page &amp;#38; 
tabs like edit &amp;#38; show with that students id&lt;/p&gt;


	&lt;p&gt;try to work with proc but gives an error&lt;/p&gt;


	&lt;p&gt;Showing app/views/tabnav/_student_tabnav.rhtml
 where line #61 raised&lt;/p&gt;


	&lt;p&gt;:You must set a page before calling this method&lt;/p&gt;


	&lt;p&gt;(error on line #61 )&lt;/p&gt;


	&lt;p&gt;58: &lt;ul&gt; &amp;lt;% 
59:   tabs.each do |tab|      
60:     html_opts = {}
61:     html_opts[:class] = &amp;#8216;active&amp;#8217; if tab.highlighted?(params)
62:     html_opts[:title] = tab.title if tab.title
63:     if eval(tab.condition) -%&amp;gt;
64:       &lt;li&gt;&amp;lt;= link_to tab.name, tab.link, html_opts -&amp;gt;&lt;/li&gt; &amp;lt;%&lt;/ul&gt;&lt;/p&gt;


	&lt;p&gt;Trace of template inclusion: /app/views/student/tabs.rhtml&lt;/p&gt;


	&lt;p&gt;My tabs page is
&lt;br&gt;
&amp;lt;%= tabnav :student %&amp;gt;&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;&lt;b&gt; name:&lt;/b&gt; &amp;lt;%= @student.name %&amp;gt;&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Please any one help me&lt;/p&gt;</description>
      <pubDate>Thu, 17 Jan 2008 08:16:22 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:3b61a94e-12dd-41ff-8ad1-80c2afa2bf6e</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-320507</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Win</title>
      <description>&lt;p&gt;This is a great plugin! Have you thought about creating one for ajax hooks?&lt;/p&gt;</description>
      <pubDate>Wed, 16 Jan 2008 16:30:53 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:c2384a71-bed3-4570-8eb4-3bedb388e03b</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-320165</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by ernesto73@ono.com</title>
      <description>&lt;p&gt;I&amp;#8217;ve the same problem that Jignesh, matthibcn, Michiel, ...&lt;/p&gt;


	&lt;p&gt;undefined method `tabnav&amp;#8217; for #&amp;lt;#:0&amp;#215;4789cb4&amp;gt;&lt;/p&gt;


	&lt;p&gt;Do you know de solution?&lt;/p&gt;


	&lt;p&gt;thanks,&lt;/p&gt;


	&lt;p&gt;ern.&lt;/p&gt;</description>
      <pubDate>Sun, 30 Dec 2007 21:59:43 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:5eff06c0-a2c8-433f-a297-b5a85b82c947</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-312519</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by qwe</title>
      <description>&lt;p&gt;Yeah this plugin didnt work for me.  Acted like it installed just fine, but when i ran the generator, got a &amp;#8220;Couldnt find tabnav generator&amp;#8221; error message!  Keep up the good work guys&lt;/p&gt;</description>
      <pubDate>Wed, 24 Oct 2007 22:10:43 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:055c245e-8ff1-4501-b225-7b5e6fbacf8a</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-268662</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by arf</title>
      <description>&lt;p&gt;What&amp;#8217;s this plugin have over the one liner tab helper described in 
&lt;a href="http://www.vaporbase.com/postings/A_tab_helper_that_works_for_me" rel="nofollow"&gt;http://www.vaporbase.com/postings/A_tab_helper_that_works_for_me&lt;/a&gt;
?&lt;/p&gt;</description>
      <pubDate>Tue, 02 Oct 2007 16:13:34 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:5ba8171a-6cc2-4a46-b4de-0e700d072e00</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-240871</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Rv</title>
      <description>&lt;p&gt;Hi. How to highlight tab with more then one controller? Sth like highlights_on :controller=&amp;gt; &amp;#8216;admin/one&amp;#8217;, :controller =&amp;gt; &amp;#8216;admin/two&amp;#8217; ?&lt;/p&gt;</description>
      <pubDate>Sat, 01 Sep 2007 18:23:20 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:10dedbaf-7e83-4fad-b73e-fe9b19685833</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-214671</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Matt</title>
      <description>&lt;p&gt;Nevermind. I got it working from one of the commments above. Thanks.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Aug 2007 00:34:59 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:bf9e5bf2-377c-43a4-9a9d-a080ae4070e5</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-210388</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Matt</title>
      <description>&lt;p&gt;I&amp;#8217;m new to Rails, but this plugin is going to save me a lot of work. Thanks for putting this together.&lt;/p&gt;


	&lt;p&gt;I need to pass in an id to build the links for each tab. How does one reference request parameters from the TabNav extension class?&lt;/p&gt;</description>
      <pubDate>Sat, 25 Aug 2007 22:26:02 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0d475a84-648f-4ad7-b974-04c0433f9f4d</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-210321</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Cássio</title>
      <description>&lt;p&gt;Hi there,&lt;/p&gt;


	&lt;p&gt;after generate a tabnav inside a folder:&lt;/p&gt;


	&lt;p&gt;#./script/generate tabnav dir/model&lt;/p&gt;


	&lt;p&gt;when a i call it in the view, like this:&lt;/p&gt;


	&lt;p&gt;start_tabnav :model&lt;/p&gt;


	&lt;p&gt;after that, this error appears:&lt;/p&gt;


	&lt;p&gt;/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in `const_missing&amp;#8217;: uninitialized constant Symbol::ModelTabnav&lt;/p&gt;


	&lt;p&gt;this worked in the previous version, because i tested&amp;#8230;but in the 1.2 it doesn&amp;#8217;t work in the same way&amp;#8230;&lt;/p&gt;


	&lt;p&gt;how do i call a tabnav, that is inside in a directory with the new tabnav version (1.2)?&lt;/p&gt;</description>
      <pubDate>Mon, 20 Aug 2007 07:37:28 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ff0eca28-a0b4-4171-a577-b7ef803cf80a</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-207128</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Rob</title>
      <description>&lt;p&gt;My project requires rounded tabs, so I&amp;#8217;m trying to modify the default views.&lt;/p&gt;


	&lt;p&gt;The generated rhtml partials appear to be empty (other than a comment).&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve added code to the partials, but the partials are not having any effect.  Nor are they even being called.&lt;/p&gt;


	&lt;p&gt;How do I change from a simple list to something of my own devising?&lt;/p&gt;</description>
      <pubDate>Thu, 02 Aug 2007 17:39:21 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a2b8e08d-53e5-468f-897e-37d2adb96c1c</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-194196</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Fiesa</title>
      <description>&lt;p&gt;hmm ok, this seems not loving to embed html-tags, so third try without tags: 
ul id=&amp;#8221;order_tabnav&amp;#8221; style=&amp;#8221;list-style-image:url(/images/list_icon.gif)&amp;#8221;&lt;/p&gt;


	&lt;p&gt;:-)&lt;/p&gt;</description>
      <pubDate>Wed, 01 Aug 2007 19:25:15 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1534db7b-d6ee-4255-8402-f81f232a10b2</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-193216</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Fiesa</title>
      <description>&lt;p&gt;hum? last comment seemed to miss the code:&lt;/p&gt;


	&lt;p&gt;&amp;#8220;&lt;ul&gt;&amp;#8220;&lt;/ul&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 01 Aug 2007 19:23:48 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:5f8698da-56f3-45d0-9882-fd04021959e9</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-193214</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Fiesa</title>
      <description>&lt;p&gt;nice plugin! I wonder if it would be possible to add a image next to each tab-title? First try was to modifythe html-list-tag in &amp;#8230;_tabnav.rhtml like this:&lt;/p&gt;


&lt;ul&gt;

	&lt;p&gt;didn&amp;#8217;t work so far, am not that experienced with rails or html :-(&lt;/p&gt;


	&lt;p&gt;Anyone has a idea how to make it work?&lt;/p&gt;


	&lt;p&gt;Thanks&lt;/p&gt;&lt;/ul&gt;</description>
      <pubDate>Wed, 01 Aug 2007 19:22:36 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:3d6e9357-0add-483b-891e-d0b3d90e6d37</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-193212</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Mo</title>
      <description>&lt;p&gt;this plugin is pretty cool but I have a bit of a problem.&lt;/p&gt;


	&lt;p&gt;I want the ability to assign the list item with the class &amp;#8216;active&amp;#8217; as well when I indicate highlighting. I need this so my tab looks cool when highlighting as i&amp;#8217;m doing the curvy image thing.&lt;/p&gt;


	&lt;p&gt;Not sure how i could do that without hacking your code.&lt;/p&gt;


	&lt;p&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Fri, 20 Jul 2007 04:06:42 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:cde78bca-8de9-43af-87ea-62235b9a7872</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-181091</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Tom Meinlschmidt</title>
      <description>&lt;p&gt;to &amp;#8220;peter Salomon&amp;#8221;... with grouped controllers&lt;/p&gt;


	&lt;p&gt;just use&lt;/p&gt;


	&lt;p&gt;add_tab do 
  named &amp;#8216;Albums&amp;#8217;
  links_to :controller =&amp;gt; &amp;#8216;admin/albums&amp;#8217;
end&lt;/p&gt;


	&lt;p&gt;without starting &amp;#8221;/&amp;#8221; in links_to .. it works :)&lt;/p&gt;</description>
      <pubDate>Sat, 05 May 2007 23:05:02 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:8d4c60e2-6d05-4b3d-8109-6629db7f864e</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-103782</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Dipesh</title>
      <description>&lt;p&gt;Hi, 
Thanks for such a great plugin. I have been trying to dynamically add a tab into the tabnav. What user does is, clicks on a link on a page, this should rout the resquest to an action in a controller. This action should have the logic to dynamically create a control. Now had some success with this, I did something like this:&lt;/p&gt;


	&lt;p&gt;def show
    @group = g = Group.find(params[:id])
    ListTabsTabnav.add_tab { named g.name; links_to :controller =&amp;gt; &amp;#8220;groups&amp;#8221;, :action =&amp;gt; &amp;#8220;show&amp;#8221;, :id =&amp;gt; g.id }
end&lt;/p&gt;


	&lt;p&gt;This works fine as long as FastCGI is not on. When I put my app on FastCGI, problems begins. Once the tab is dynamically created it just stays there forever. Even if i change page. I have to kill the fcgi dispatcher, to remove it.&lt;/p&gt;


	&lt;p&gt;Is there some better way to handel this problem?&lt;/p&gt;</description>
      <pubDate>Thu, 03 May 2007 11:43:25 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f52ec5c0-35ca-4919-a32a-d7533398b5d4</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-103011</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by conradwt@gmail.com</title>
      <description>&lt;p&gt;Hi, I was thinking that it would be cool if I could simply use render instead of links_to.  I say this because I want to do is render content for a tab.  What do you think about this?&lt;/p&gt;</description>
      <pubDate>Thu, 03 May 2007 00:50:40 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0ab31751-c60d-4824-924f-cf9f9c23ddc1</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-102913</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by conradwt@gmail.com</title>
      <description>&lt;p&gt;Hi, after adding the appropriate link_to, the tabs disappear after selection.&lt;/p&gt;</description>
      <pubDate>Thu, 03 May 2007 00:13:34 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f0776ca8-1e5a-46f2-a4d6-318b3837d82a</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-102911</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Jignesh</title>
      <description>&lt;p&gt;I managed to get it up running but facing new problem. How to use &amp;#8216;links_to&amp;#8217; to specify the content div as watever :action  i&amp;#8217;m setting rite shows up the content on new page without the tabs?&lt;/p&gt;</description>
      <pubDate>Fri, 27 Apr 2007 14:51:57 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:97537560-9302-4fe3-b70e-512587e53825</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-98393</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Jignesh</title>
      <description>&lt;p&gt;I&amp;#8217;m not able to make it work. I&amp;#8217;m using InstantRails. Its giving me &amp;#8216;undefined method `start_tabnav&amp;#8217; for #&amp;lt;#:0&amp;#215;47cc758&amp;gt;&amp;#8217; error. I&amp;#8217;ve extracted the tar file under vendor/plugins dir of my app. Please help !!!!&lt;/p&gt;</description>
      <pubDate>Fri, 27 Apr 2007 12:32:07 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2f7a5f7b-30f1-47d0-8576-6be5df8203b3</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-98283</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by bang bros</title>
      <description>&lt;p&gt;I am here to notify you that in the end of April 2007 will be Ruby and WP community party at NY, US.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Apr 2007 12:44:36 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7e0a0b59-e5b6-4f74-952f-6e60fdb5e84e</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-95842</link>
    </item>
    <item>
      <title>"The easiest way to add tabbed navigation to your Rails app!" by Strafverteidiger München</title>
      <description>&lt;p&gt;I’ll keep playing around :-) Thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 20 Apr 2007 19:37:29 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:68c5f033-95ae-49cf-98db-675a2d043b54</guid>
      <link>http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app#comment-94385</link>
    </item>
  </channel>
</rss>
