Thumb docs

How to upload files by tasks?

April 05, 2017 14:46

This is a sample which uploads a remote file to the CMS storage (local or aws): # lib/tasks/owen.rakenamespace :owen do desc "Test download external image" task download_image: :environment do incl...

Thumb docs

Rss in Camaleon CMS

March 23, 2017 12:12

Camaleon CMS automaically generates rss content for each content/category/content group which can be easily modified.The default template to generate RSS is here:

Thumb docs

How to add custom routes for my contents?

February 10, 2017 18:57

How to add custom routes for my contents? and how to show them with a custom layout + template? Add the hook "on_render_post" in your config/config.json... "on_render_post": ["e_on_render_post"].....

Thumb docs

How to make global Post Tags?

September 30, 2017 14:53

If you want to have shared post tags, you can do it by this: Camaleon version >= Create an initializer: my_app/config/initializers/shared_tags.rb Rails.application.config.to_prepare do ...

Thumb docs

How to use my app layout on existent projects?

October 09, 2017 10:17

Register a new hook in your current theme // app/apps/themes/my_theme/config/config.json"on_active": ["....."],"front_default_layout": ["my_theme_set_custom_layout"] # my_theme_set_custom_layout i...

Thumb docs

How to add custom menus/sections to dashboard?

October 09, 2017 11:02

Generate a plugin rails g camaleon_cms:gem_plugin sample_menus Add hook listener // my_plugin/config/camaleon_plugin.json"admin_before_load": [ "my_plugin_admin_before_load"] Create helper liste...

Thumb docs


May 11, 2018 14:45

Camaleon CMS comes already with sitemaps which by default renders all posts, post types, ... in all languages and it is available in the following url: http://localhost:3000/sitemap.xml To customiz...