Almost.
I can see editable area in every single post in couch cms.
Still cannot see on frontend.
I can see editable area in every single post in couch cms.
Still cannot see on frontend.
<cms:template title="Blog" clonable="1">
<cms:editable name="blog_content" type="richtext"/>
.
..
...
<cms:globals>
<cms:editable name='video' label='Video embed code' type='textarea' no_xss_check='1' >
<iframe width = "100%" height = "auto" src="https://www.youtube.com/embed/fMf0mrVMGJk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</cms:editable>
</cms:globals>
</cms:template>
<cms:get_global 'video'/>
<cms:globals>
<cms:repeatable name='videos' >
<cms:editable name='video' label='Video embed code' type='textarea' no_xss_check='1' >
<iframe width = "100%" height = "auto" src="https://www.youtube.com/embed/fMf0mrVMGJk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</cms:editable>
</cms:repeatable>
</cms:globals>
<cms:show_repeatable 'videos' startcount='0' >
<cms:get_global "video" />
</cms:show_repeatable>
For more complex fields (e.g. repeatable-regions), we can use the cms:get_global tag as a tag-pair e.g. as follows -
<cms:get_global 'images'>
<cms:show_repeatable k_field_name >
..
</cms:show_repeatable>
</cms:get_global>
<cms:get_global 'videos'>
<cms:show_repeatable k_field_name >
<cms:show video />
</cms:show_repeatable>
</cms:get_global>