[Radiant] Re: Subdomains and old urls
David Piehler
dave at basicsgroup.com
Thu Apr 17 10:23:05 CDT 2008
Chris Barnes wrote:
> How do you get the new page type to show as an option under page types
> in the radiant admin?
The way I've done it in the past is (example from my Schools extension):
In .../schools/schools_extension.rb
def activate
admin.tabs.add "Schools", "/manage/schools", :after => "Layouts",
:visibility => [:all]
SchoolPage
end
In .../schools/app/models/school_page.rb
class SchoolPage < Page
...
...
...
end
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list