How to migrate to another domain
November 16, 2016 11:20

These are the steps to migrate/deploy to another domain: Export to sql your DB Replace your old domain to the new domain in the SQL, like: "https://localhost:3000/" into "https://mydomain.com/" Re...

Read More
How to map custom domains
November 25, 2016 01:14

Camaleon CMS Permit you to customize your domains for old domains or support multiple domains to a single site, like this: # Add an initializer in config/initializers/camaleon_map_sites.rbRails.app...

Read More
Move SQlite DB to Production DB Mysql
December 01, 2016 12:48

When you worked in your development environment using sqllite3 DB, you will need to migrate your DB to Production DB (Mysql or Postgres). Export development.sqlite3 into sql format:CMD: sqlite3 pr...

Read More
How can I control the visit to my categories?
January 12, 2017 09:54

For many reasons you can try to avoid/verify the visits for categories, posts or any other, then by this way you can do it: Create an initializer Create a before filter for :category on CamaleonCm...

Read More
How to extend a Post Model?
January 23, 2017 11:36

By this way you can extend, overwrite a Camaleon CMS Post Model. Create an initializer # config/initializers/my_custom_cama_post.rbRails.application.config.to_prepare do CamaleonCms::Post.class_ev...

Read More
How to configure AWS + Cloudfront?
April 10, 2017 10:03

Enter your AWS + Cloudfront settings in Admin -> Settings -> General Site -> File System TabSample: After change your settings, go to media section to clear cache and fetch files from the ...

Read More
How to upload files by tasks?
April 05, 2017 11: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...

Read More
Rss in Camaleon CMS
March 23, 2017 10: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:https://github.com/owen2345/camaleo...

Read More
How to add custom routes for my contents?
February 10, 2017 16: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"].....

Read More
How to make global Post Tags?
September 30, 2017 11:53

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

Read More