-
Notifications
You must be signed in to change notification settings - Fork 40
Repeater view
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](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](Flow Repeater.png)
Introduction System Requirements
- Events Module settings
- Date Format
- Event dates without time
- Event details in place or not
- Event Settings
- Event Themes
- Event Views
- Templating Event Views
- Purge old events
- Custom Event themes
- Select Category via URL
- Select Start Date via URL
- RSS in the Events Module
- iCal support
- Upcoming Events View
- Repeater view
- Video Tutorials
- Open Location URL
- The use of Templates
- Tokens to be used in Templates
- Daylight Saving Time
- The same Events on two pages
- Install module for Development