Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Content

Content

This plugin depends on fckeditor plugin. Install it before editing pages ruby script/plugin install svn://rubyforge.org//var/svn/fckeditorp/trunk/fckeditor

After you have it, rename /public/javascripts/fckcustom.js.content.example to fckcustom.js and configure it if needed

This plugin includes bundled the windows library http://prototype-window.xilinus.com/. Please read their terms and license

In order to create the plugin db structure you need to run “rake content:initialize_database”

  • If you want to uninstall the plugin, run “rake content:delete_database” before removing it --

DEFAULT_TEMPLATE is set to ‘content_template_sample’. You can override this value to use your default page template by defining it at environment.rb (or any other global scope)


The plugin will map ’’ and ‘web/*page_path’ routes dynamically at every start by default

the ‘web’ default prefix can be changed by setting CONTENT_WEB_PREFIX at environment.rb if MAP_HOME_TO_CONTENT is set to false it will not map the app home to the content system


if the Helper ContentPermissionsHelper is defined, it will be automatically included by the plugin, so you can define your role methods in that helper instead of messing with ApplicationHelper


CONTENT_UPLOAD_PATH determines the path (client-side related, so ’/’ means public directory) to upload/browse images from the fckeditor Defaults to ’/’ and can be overriden as usual

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'