I have a repeating region. Couch is executing the "cms:editable" part, the field definitions, near the top of the page. Here's that part:
But it's leaving the "show" part entirely untouched. I can see the couch codes still in the source view of the outputted web page. Here's the "show" part:
In Admin, I can successfully enter the text for the various fields, so I do have a set of data entered that the Admin panel has saved and is happy with. But Couch isn't seeing or processing the "show_repeatable" section of my page.
All I'm seeing is some empty space at the top of my page. (Due to some html <p>s and stuff that are contained in the show_repeatable block.)
Any ideas what I might be doing wrong?
- Code: Select all
<cms:repeatable name='news_items' >
<cms:editable name='news_heading' label="Headline for this news item." type='text' />
<cms:editable name='news_bodytext' label="The paragraph(s) that make up this news item." input_width='300' type='nicedit' />
<cms:editable name='news_link_intro' label="Optional preamble announcing link." type='nicedit' />
<cms:editable name='news_link_url' label="Optional link associated with this news item." type='text' />
<cms:editable name='news_link_linktext' label="Optional link text for the url, if different from url itself." type='text' />
</cms:repeatable>
But it's leaving the "show" part entirely untouched. I can see the couch codes still in the source view of the outputted web page. Here's the "show" part:
- Code: Select all
<cms:show_repeatable 'news_items' >
<article>
<h2><cms:show news_heading /></h2>
<p><cms:show news_bodytext /></p>
<cms:if "<cms:not_empty news_link_url />"><p></cms:if>
<cms:show news_link_intro />
<cms:if news_link_intro ><br /></cms:if>
<a href="<cms:show news_link_url />"><cms:if news_link_linktext ><cms:show news_link_linktext /><cms:else /><cms:show news_link_url /></cms:if>
</a></p>
</article>
</cms:show_repeatable>
In Admin, I can successfully enter the text for the various fields, so I do have a set of data entered that the Admin panel has saved and is happy with. But Couch isn't seeing or processing the "show_repeatable" section of my page.
All I'm seeing is some empty space at the top of my page. (Due to some html <p>s and stuff that are contained in the show_repeatable block.)
Any ideas what I might be doing wrong?