Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Allows storing Radiant layouts and snippets on the file system

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 file_system_resources_extension.rb
Octocat-spinner-32 radiant-file_system_resources-extension.gemspec

File System Resources

This enables the use of Radius-based layouts on the file system. Layouts go in RAILS_ROOT/app/templates/layouts.


Install it

Radiant ~1.0

1. add gem 'radiant-file_system_resources-extension'
to your Gemfile
2. Run rake radiant:extensions:update_all to initialize
the extension
3. Run rake radiant:extensions:file_system_resources:migrate
4. Restart web server

Older versions of Radiant (without Gemfile)

1. git submodule add git:// vendor/extensions/file_system_resources
2. Migrate it: rake radiant:extensions:file_system_resources:migrate
3. Restart webserver

Use it

  • Create your file-based layouts
  • Register your layouts. (needed only when add/remove, not on edit)
    rake radiant:extensions:file_system_resources:register
  • Alternatively, for easy conversion you can extract an existing database resource into a file-based resource. But
    note that the new file resource will still need to be registered upon deployment.
    rake radiant:extensions:file_system_resources:extract layouts=layout1,layout2,etc
  • Your newly created layouts are now available to use in admin panel.
Something went wrong with that request. Please try again.