= Serve a page in Trac within an Iframe = [[TOC]] == Description == Adds a button to the main navigation bar and serves a page in the Trac template within an Iframe linking to the appropriate URL. This will work for any number of URLs specified in the proper format. See also: MenusPlugin, NavAddPlugin. == Bugs/Feature Requests == '''[report:9?COMPONENT=TracTabPlugin Open Tickets] | [http://trac-hacks.org/newticket?component=TracTabPlugin&owner=bobbysmith007 new ticket].''' == Getting the Plugin == [source:/tractabplugin Browse the source] === Subversion Checkout: === {{{ svn co http://trac-hacks.org/svn/tractabplugin/trac10 svn co http://trac-hacks.org/svn/tractabplugin/trac11 }}} * [http://trac-hacks.org/svn/tractabplugin/trac10 SVN Trac 10 branch] * [http://trac-hacks.org/svn/tractabplugin/trac11 SVN Trac 11 branch] === Zip Files === Download the zipped source : * [download:/tractabplugin/trac10 Zipped source for plugin for Trac0.10]. * [download:/tractabplugin/trac11 Zipped source for plugin for Trac0.11]. == Example == The following trac.ini configuration will create 2 new tabs on the main navigation bar, one named ''Google'' and the other named ''My Blog'', with the respective URLs and permissions (e.g. Google requires WIKI_VIEW while !MyBlog requires TRAC_ADMIN). The handlers for these items will be `/tractab/Google` and `/tractab/My%20Blog`. {{{ [components] tractab.*=enabled [tractab] names=Google,My Blog urls=http://www.google.com,http://blogs.acceleration.net/russ perms=WIKI_VIEW,TRAC_ADMIN }}} * Note: The ''perms'' parameter is optional, but if left unspecified, it requires TRAC_ADMIN permissions to view the tabs. * Note: The parameter lists are sensitive to whitespace. No whitespace should exist between comma separated entries, although an entry can contain whitespace (e.g. ''My Blog''). == Recent Changes == [[ChangeLog(tractabplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:bobbysmith007] [[BR]] '''Contributors:''' Anonymous ported this to genshi