Positioning top-level tab

I’ve got a home-brewed extension that adds a tab and a couple of
subtabs.
The problem is that my added top-level tab isn’t quite where I want it
(I
want it to be the penultimate tab, not the last in the row). I see on
the
wiki[1] that there’s a key for specifying the order of the secondary
tabs,
but there doesn’t appear to be a way to shuffle the top-level tabs
around.

Suggestions?

-dan

– Footnotes

[1]

On Wed, Oct 13, 2010 at 4:04 PM, D.Kreft [email protected] wrote:

I’ve got a home-brewed extension that adds a tab and a couple of subtabs.
The problem is that my added top-level tab isn’t quite where I want it (I
want it to be the penultimate tab, not the last in the row). I see on the
wiki[1] that there’s a key for specifying the order of the secondary tabs,
but there doesn’t appear to be a way to shuffle the top-level tabs around.
Suggestions?
-dan
– Footnotes
[1]

http://github.com/radiant/radiant/wiki/Developer-Upgrade-Notes/69b42dd26178f77a7f157147bdc64b9d68a8d7d7

I just recently did this for Dashboard
http://github.com/saturnflyer/radiant-dashboard-extension/blob/master/dashboard_extension.rb#L9

But the tabs are just arrays, so if you like you can use any way you
would sort a ruby array
http://ruby-doc.org/core/classes/Array.html#M002185

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs