Radiant Tiny-Paper Extension
An extension by Aissac that adds Paperclipped based Tiny MCE support to Radiant CMS. This extension provides a
Rich Text Editor filter and allows you to edit the content using the TinyMCE editor. It also provides an Image and File browser to help you manage the Paperclipped assets.
The Tiny-Paper Extension is Radiant 0.7.1 compatible.
- TinyMCE WYSIWYG editor in your Radiant page as a filter;
- Image Browser, based on Paperclipped image assets;
- File Browser, based on Paperclipped assets;
- Upload assets directly in TinyMCE Image/File browser;
- Thumbnails and text list views;
- Directly add a link to a Radiant Page from TinyMce editor.
Tiny-Paper Extension has two dependencies, the Paperclipped extension and the will_paginate gem/plugin.
Install the Paperclipped Extension
git submodule add git://github.com/kbingman/paperclipped.git\ vendor/extensions/paperclipped
And the will_paginate gem/plugin:
git submodule add git://github.com/mislav/will_paginate.git\ vendor/plugins/will_paginate
sudo gem install mislav-will_paginate
You may also want to install the Settings Extension since it provides a very convenient way to configure thumbnail sizes for image assets:
git submodule add git://github.com/Squeegy/radiant-settings.git\ vendor/extensions/settings
Finally, install the Tiny-Paper Extension
git submodule add git://github.com/Aissac/radiant-tiny-paper-extension.git\ vendor/extensions/tiny_paper
For more information about installing and configuring Settings and Paperclipped check the extensions official pages.
If you choose to use the Settings extension, you will need to migrate it first:
rake radiant:extensions:settings:migrate rake radiant:extensions:settings:update
and then run the Paperclipped migrations and updates:
rake radiant:extensions:paperclipped:migrate rake radiant:extensions:paperclipped:update
The last step is to update the Tiny-Paper assets:
The Tiny-Paper Extension adds a "Rich Text Editor" filter, just toggle the filter and start using it.
It also provides two management systems, one for images and one for files, both based on Paperclipped.
The Image Browser can be accessed through the
insert/edit image icon, and presents all the images uploaded through Paperclipped. There are two types of views (text list and thumbnails), filtering, sorting and pagination facilities, and a form for directly uploading images.
The File Browser can be accessed through the
insert/edit link icon and has two sections: one for adding a link to a Radiant Page, and one for adding a link to an uploaded file.
- Cristi Duma
- Istvan Hoka