gerrit / radiant-file_system_resources-extension

Allows storing Radiant layouts and snippets on the file system

Home Page:http://terralien.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File System Resources

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.

Quickstart

Install it

  • 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

Use it

  • 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.

About

Allows storing Radiant layouts and snippets on the file system

http://terralien.com


Languages

Language:Ruby 100.0%