Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
How can I create a tile without an editable, i.e. setting just a horizontal ruler?

Greetings
Bertram
The way I did it was:
Code: Select all
<cms:mosaic name='news_content' label='Content' order="16">
<cms:tile name='news_hr' label='Horizontal line'>
        <cms:editable name='the_news_hr' label='Horizontal line' type='dropdown' opt_values="Show line" />
</cms:tile>
</cms:mosaic>

Then in the mosaic on the page:
Code: Select all
<cms:show_mosaic 'news_content'>
<cms:if k_tile_name='news_hr'>
          <div><hr></div>
</cms:if>
</cms:show_mosaic>

So basically, if you create a "news_hr" tile while building a mosaic section on the page, it will automatically show the hr. There's probably other ways to do it, but that worked for me.
ewanmc wrote: There's probably other ways to do it, but that worked for me.

I had a similar approach, but it would be nice to avoid unnecessary tags :)
3 posts Page 1 of 1
cron