One of the new features added in version 5.2.0 is the repeater view. By default this will create a 5 row repeat with one column using the the following templates:
  • List Repeater View Header in which you may use the token [event:repeaterheadertext] to include the localisable value TokenListRptHeader.Text
  • List Repeater View Body which is repeater for each event and can contain the standard list of event tokens.
  • List Repeater View Footer in which you may use the token [event:repeaterfootertext] to include the localisable value TokenListRptFooter.Text

Configured to use 2 rows by 2 columns you would get a display as below. In this mode, the repeater uses a table based layout:-
Standard Repeater.png

Alternatively you can disable 'Repeater as Table' and the repeater will simply use the html supplied in the templates. An example of updated templates is shown below. Note the use of the token [event:repeatertoltip] to place where the tooltip should be included:-
  • Header
<div class="SubHead"> [event:repeaterheadertext]</div>
<ul><hr />
  • Body
<li style="text-align:left" [event:repeatertooltip]>[event:startdate|D]</br>
[RECURRINGEVENT][event:recurring]</br>[/RECURRINGEVENT]
[event:title] (<a href="[event:eventurl]">link</a>)</li>
<hr />
  • Footer
</ul>
<div class="SubHead"> [event:repeaterfootertext]</div>


Generates a view like this:-
Flow Repeater.png

Last edited Mar 13, 2011 at 5:29 PM by RogerSelwyn, version 3

Comments

No comments yet.