I had a page working fine with editable regions, but then I tried to create a template in another place on the page, and now none of my text from the editable sections show up. I'm assuming this is because <cms:template> forced my page to be a template, and I'm wondering if I can undo this?
Not sure if I understood the question completely but this is what I gathered (please correct me if I am wrong) -
You had a template with editable regions defined like this somewhere in the body
- Code: Select all
<div>
<cms:editable name='my_caption' type='text' />
</div>
and then you defined a cms:template tag and moved the editable regions to within that tag e.g.
- Code: Select all
<cms:template title='My Template' >
<cms:editable name='my_caption' type='text' />
</cms:template>
and now the text has disappeared.
That is normal as editable regions defined within cms:template do not output anything - they just get defined.
To show their contents in the main body we'll have to use cms:show tag. So our example now becomes
- Code: Select all
<cms:template title='My Template' >
<cms:editable name='my_caption' type='text' />
</cms:template>
<div>
<cms:show my_caption />
</div>
Does this help?