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 >= 2.4.4.2 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...