This enables the use of Radius-based layouts and snippets on the file system. Layouts go in RAILS_ROOT/radiant/layouts, and snippets go in RAILS_ROOT/radiant/snippets.
- Install
git submodule add git://github.com/saturnflyer/radiant-file-system-resources-extension.git vendor/extensions/file_system_resources
- Migrate it
rake radiant:extensions:file_system_resources:migrate
- Restart webserver
- Create your file-based layouts/snippets
RAILS_ROOT/radiant/layouts/your-layout-name.radius
RAILS_ROOT/radiant/snippets/your-snippet-name.radius - Register your layouts/snippets. (needed only when add/remove, not on edit)
rake radiant:extensions:file_system_resources:register
- Your newly created layouts/snippets are now available to use in admin panel.