How to extend admin/layouts/index.html.haml in 0.9.0

View: New views
1 Messages — Rating Filter:   Alert me  

How to extend admin/layouts/index.html.haml in 0.9.0

by crankin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


So in my extension I'm trying to add a partial to the admin/layouts/
index.html.haml. I have the following in my extensions activate method

def activate
      admin.layout.index.add :top, 'admin/skins/list'
end

Nothing shows up though. If I try to put it in
'admin.layout.new.add :form' it works just fine. Or anywhere else for
that matter. It seems that 'admin/layouts/index' is the only one that
wont take it. Well it's takes it but it wont render anywhere.

Looking at http://wiki.github.com/radiant/radiant/modifying-the-page-ui
or directly inside /lib/radiant/admin_ui.rb

doesn't really tell me anything.

Is this part of the admin_ui not extendable?


--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---