[TYPO3-english] Limit list view to first content element from page

Adrian Marcinkowski amarcinkowski at gmail.com
Thu Oct 3 14:54:56 CEST 2013


We have made extension using Kickstarter. On DB we have lots of items with
the same pid element. We would like to display on list, only first item
based on pid. For example:

PID 1

   - record 1
   - record 2
   - record 3

PID 2

   - record 14
   - record 15
   - record 16

PID 3

   - record 21
   - record 22
   - record 23

How to limit displayed items on list to only first elements: record1,
record 14, record 21?

To select we use pi_exec_query function.


More information about the TYPO3-english mailing list