Sławosz
Sławosz

Reputation: 11687

Rails static pages CMS engine

I need simple CMS to allow non-tech folks edit some static text in app I maintaing. App is in rails 3.2 and is multilingual. What would here fit best?

Upvotes: 4

Views: 1639

Answers (3)

jipiboily
jipiboily

Reputation: 1240

You might want to take a look at Refinery which is now a mountable engine. Version 2.0 has been released a few days ago.

There is also a bunch of other CMS, it all depend on your needs:

Upvotes: 4

TomDunning
TomDunning

Reputation: 4877

tinyMCE will allow you to do images etc, but really if you're using rails for this stuff i would (and do), use tinyMCE for text then add paperclip to add the images and video (possibly also swfupload if the videos are big).

Then you can build your template as required and pull stuff in based on the page.id or other identified.

back to multilingual: you'll want to model up 'my_cms_item' eg. news_item and 'my_cms_item_translation' e.g. 'news_item_translation' and create a 1-Many for these so that when a user creates a news_item they can select to add additional translations in whichever language and the system just detects and pulls if available. You can make it either hide the item or default to a translation as required.

Upvotes: 0

wizztjh
wizztjh

Reputation: 7041

my suggestion is just add a WYSIWYG like CKeditor to text box. ckeditor gem

ps. rails it self can be a simple cms ... just rails g scaffold

Upvotes: 2

Related Questions