This feature allows to load snippets via ajax as normal snippets
'lazy_snippet' radiant tag renders javascript object, that after document ready creates replacement with spinner and load snippet data via ajax call.
- Prototype 1.6+
- Radiant 0.9.1
- Rails 2.3.8
git clone git://github.com/cheef/radiant-lazy-snippet-extension.git vendor/extensions/lazy_snippet
rake radiant:extensions:lazy_snippet:update
- include required script like
/javascripts/prototype.js
/javascripts/extensions/lazy_snippet/lazy_snippet.js
*place <r:lazy_snippet name="%test%" />
tag to page/snippet/layout content,
where %test% - is name of your snippet
- Ivan Garmatenko