Could it be, that startcount doesn't work with show_repeatable?
Example:
When I add 3 values, always the first value is shown.
Example:
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='hompage'/>
<!doctype html>
<html>
<head><title>Test</title>
<body>
<cms:hide>
<cms:repeatable 'contacts'>
<cms:editable name='text' type='text'/>
</cms:repeatable>
</cms:hide>
<cms:show_repeatable 'contacts' startcount='1' limit='1'>
<cms:show text /><br>
</cms:show_repeatable>
<cms:show_repeatable 'contacts' startcount='2' limit='1'>
<cms:show text /><br>
</cms:show_repeatable>
<cms:show_repeatable 'contacts' startcount='3' limit='1'>
<cms:show text />
</cms:show_repeatable>
</body>
</head>
<?php COUCH::invoke(); ?>
When I add 3 values, always the first value is shown.