Rails static pages CMS engine

I need a simple CMS so that non-technical people edit some kind of static text in the application I'm maintaing. The application is on rails 3.2 and is multilingual. What is best suited here?

+4
source share
3 answers

You might want to take a look at Refinery , which is now a mounted engine. Version 2.0 was released a few days ago.

There are also many other CMS, it all depends on your needs:

+4
source

my suggestion just adds WYSIWYG, like CKeditor, in the text box. ckeditor gem

ps. the rails themselves can just be cms ... just rails g scaffold

+2
source

tinyMCE will allow you to make images, etc., but in fact, if you use rails for this material, I would (and would) use tinyMCE for text and then add paperclip to add images and videos (possibly swfupload, if the videos are large).

You can then create your template as needed and pull out material based on page.id or another identified one.

back to multilingual: you will want to simulate "my_cms_item", for example. news_item and 'my_cms_item_translation', for example. 'news_item_translation' and create 1-lot for them, so when the user creates news_item, they can choose to add additional translations depending on which language and system just detects and pulls, if available. You can force it to either hide the element or transform by default as needed.

0
source

Source: https://habr.com/ru/post/1396143/


All Articles