Advertisement
robinson2ben

TypoScript dataProcessing

Nov 7th, 2022
1,240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tt_content{
  2.     my_eventcalendar =< lib.contentElement
  3.     my_eventcalendar{
  4.         templateName = MyEventCalendar.html
  5.         dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
  6.         dataProcessing.10 {
  7.             table = tt_content
  8.             orderBy = my_eventdate
  9.             where.data = date : U
  10.             where.wrap = `CType` = 'my_event' AND `my_eventdate` > |
  11.             pidInList.data = leveluid : 0
  12.             recursive = 99
  13.             as = events
  14.  
  15.             dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
  16.             dataProcessing.10 {
  17.                 table = pages
  18.                 pidInList.data = leveluid : 0
  19.                 recursive = 99
  20.                 where.field = pid
  21.                 where.wrap = uid = |
  22.                 as = page
  23.  
  24.                 dataProcessing {
  25.                     10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  26.                     10 {
  27.                         references.fieldName = media
  28.                         as = thumbnails
  29.                     }
  30.                 }
  31.             }
  32.         }
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement