Do you have some feature in mind that you'd love to see in Couch? Let us know.
3 posts Page 1 of 1
Interesting request from one of my users.

They want to add a bunch of rows of data to a repeating region but only have a selected few of them showing on the site at any one time.

At the moment you can Add, Delete and Move a repeating region but you cannot disable/enable it (as far as I can tell).

Thanks

Graham
Graham
@GrahamO, add another column with a checkbox 'show'. Then while listing repeatable only show rows with this checked flag.
Thanks!
Should have thought of that.. :? ... I don't think I have really gotten to grips with the power of this tool yet.

UPDATE: It worked fine as follows:

Code: Select all
                            <cms:show_repeatable 'sec3Content'>
                            <cms:if subSec3Show="Show">
                                <li>
                                    <cms:if subSec3Video>
                                        <div class="videoWrapper">
                                            <cms:do_shortcodes>
                                                <cms:show subSec3Video/>
                                            </cms:do_shortcodes>
                                        </div>
                                        <cms:else/>
                                        <img src="<cms:show subSec3Image/>">
                                    </cms:if>
                                    <p>
                                        <cms:show subSec3Content/>
                                    </p>
                                </li>
                            </cms:if>
                            </cms:show_repeatable>
Graham
3 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests

cron