p8 / radiant-tiny-paper-extension forked from Aissac/radiant-tiny-paper-extension

This fork uses the File search/filtering from Paperclipped and a Radiant TinyMCE theme for a more consistent UI.

This URL has Read+Write access

name age message
file LICENSE Tue Mar 17 08:39:11 -0700 2009 Updated Readme, added License. [Istvan Hoka]
file README.md Loading commit data...
file Rakefile
directory app/
directory lib/ Thu Apr 02 02:30:36 -0700 2009 improved browser UI [cristi]
directory public/
directory spec/
file tiny_paper_extension.rb
README.md

FORK INFO

This fork uses the File search and filtering from Paperclipped for a more consistent UI. The TinyMCE layout looks more like Radiant as well.

Radiant Tiny-Paper Extension

About

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.

Features

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

Installation

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

or

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/p8/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:

rake radiant:extensions:tiny_paper:update

Usage

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.

Contributors

  • Cristi Duma
  • Istvan Hoka