Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I would like to create a editable sidebar block that will be shared among different pages that I choose using

Code: Select all
<cms:embed 'sidebar.html' /> 


The sidebar.html file is saved in couch/snippets folder. In this case, how can I make that sidebar editable within CouchCMS admin panel text editor?

Thank you!
Hi,

We can create a separate uncloned template just to hold all the global values used by the site (by defining the required editable regions within it).

The values of this template's editable regions can then be fetched anywhere using the regular cms:pages or the cms:get_custom_field tag. In your case, this can be done in the 'sidebar.html' snippet.

Please see the following chapter of our tutorial (the 'Global values' section to be specific) for an example of how to use global values -
http://www.couchcms.com/docs/tutorials/ ... -ends.html

Hope this helps.
Thank you so much! It's awesome you have implemented this feature, this rocks!
3 posts Page 1 of 1