Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 681 Bytes
# Uncomment this if you reference any of your controllers in activate
require_dependency 'application_controller'
class ReorderExtension < Radiant::Extension
version "0.2.1"
description "Allows (re)ordering of pages in the page tree."
url "http://dev.radiantcms.org/"
def activate
admin.page.index.add :sitemap_head, "order_header"
admin.page.index.add :node, "order"
admin.page.index.add :top, 'header'
Page.send :include, Reorder::PageExtensions
Admin::PagesController.send :include, Reorder::PagesControllerExtensions
Admin::PagesController.send :helper, Reorder::PageHelper
StandardTags.send :include, Reorder::TagExtensions
end
end
Something went wrong with that request. Please try again.