setup.typoscript 685 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Container setup
  3. #
  4. #
  5. # Base container
  6. #
  7. lib.containerElement {
  8. templateRootPaths {
  9. 30 = EXT:bagger_site_package/Resources/Private/Templates/Container/
  10. }
  11. partialRootPaths {
  12. 30 = EXT:bagger_site_package/Resources/Private/Partials/Container/
  13. }
  14. layoutRootPaths {
  15. 30 = EXT:bagger_site_package/Resources/Private/Layouts/Container/
  16. }
  17. }
  18. #
  19. # Accordion container
  20. #
  21. tt_content.accordion-container < lib.containerElement
  22. tt_content.accordion-container {
  23. templateName = Accordion
  24. dataProcessing {
  25. 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  26. 10 {
  27. if.isTrue.field = image
  28. as = images
  29. references.fieldName = image
  30. }
  31. }
  32. }