setup.typoscript 803 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Content elements setup
  3. #
  4. tt_content {
  5. image.dataProcessing {
  6. 60 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
  7. 60 {
  8. if {
  9. value.field = layout
  10. equals = 2
  11. }
  12. table = pages
  13. uidInList = this
  14. pidInList = 0
  15. max = 1
  16. as = page
  17. }
  18. 70 = CYBOB\SitePackage\DataProcessing\ParentContainerProcessor
  19. 70 {
  20. if.isTrue.field = tx_container_parent
  21. as = container
  22. }
  23. }
  24. menu_pages.dataProcessing.50 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  25. menu_pages.dataProcessing.50 {
  26. if.isTrue.field = image
  27. as = files
  28. references.fieldName = image
  29. }
  30. menu_subpages.dataProcessing.50 < .menu_pages.dataProcessing.50
  31. menu_categorized_pages.dataProcessing.50 < .menu_pages.dataProcessing.50
  32. }