Getting started
Sections
Help

Layout repeaters

From Snowfire Wiki

Jump to: navigation, search


With a repeater the user can duplicate a set of components / HTML. Repeaters consist of a start and an end; all content in between is repeatable.

Example

{ repeater ( id:'1' ) }
 
<p>Text</p>
{ com_singlerow ( id:'1', description:'One-liner' ) }
 
{ repeater_end() }

Parameters

  • id - A per page unique repeater ID.
  • maxRepeats

The { repeater_end() } doesn't take parameters. Repeaters cannot be nested.

Views
Personal tools