You are here: Browse Railsplugins Content
This plugin depends on fckeditor plugin. Install it before editing pages ruby script/plugin install svn://rubyforge.org//var/svn/fckeditorp/trunk/fckeditor
In order to create the plugin db structure you need to run “rake content:initialize_database”
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