setup.txt 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. # TODO: reprendre les formulaires custom
  2. # TODO: prévoir les fallbacks no-script (menu, donors)
  3. # -- après déploiement beta
  4. # TODO: DEPRECATION V10 corriger les appels ` $this->forward('...');`, `\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(` et `\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(`
  5. # TODO: Placer tous les mots utilisés dans le fichier de traduction
  6. # TODO: obtenir les infos suivantes via l'API: is_network, email, name, twitter, logo, network_logo, network_name, network_url
  7. # TODO: créer deux ou trois layouts supplémentaires
  8. # TODO: filtrer les pages sans contenu (en option dans les constants?)
  9. # TODO: rédiger une doc dev
  10. # TODO: Rédiger une doc utilisateurs
  11. # TODO: permettre de mettre en avant des évènements (appraissent plus longtemps à l'avance)
  12. # TODO: tester les widgets
  13. # TODO: ajouter un plugin "réseaux sociaux"
  14. # TODO: tester l'intégration matomo
  15. # TODO: permettre d'ajouter du contenu de type fichier
  16. # TODO: permettre d'ajouter du contenu de type vidéos
  17. # TODO: carroussel: ne pas redimensionner les photos mais les rogner
  18. # TODO: ajouter une recherche fulltext sur le site
  19. # TODO: créer un module de personnalisation du site
  20. # TODO: Faire des sites de demo / de test pour chaque thème avec un compte bidon mais représentatif
  21. # TODO: trouver un système pour garder à jour les mentions légales
  22. # TODO: Réflechir à un système pour pouvoir afficher un message sur tous les minisites, type 'Maintenance prévue le...' ou autre
  23. ## DEBUG MODE: tout commenter pour la prod ##
  24. config.debug = 1
  25. config.contentObjectExceptionHandler = 0
  26. config.no_cache = 1
  27. config.admPanel = 0
  28. plugin.tx_vhs.settings.debug = 0
  29. plugin.tx_vhs.settings.asset.debug = 0
  30. ####
  31. # **** Configuration générale ****
  32. config.language = fr
  33. config.locale_all = fr_FR.utf-8
  34. config.concatenateCss = 1
  35. config.compressCss = 1
  36. config.compressJs = 1
  37. # Déclaration des plugins
  38. lib.allEvents = USER
  39. lib.allEvents {
  40. userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
  41. extensionName = OtWidgets
  42. pluginName = AllEvents
  43. vendorName = Opentalent
  44. settings < plugin.tx_otwidgets_allevents.settings
  45. }
  46. lib.auth = USER
  47. lib.auth {
  48. userFunc = Opentalent\OtConnect\OtAuthenticationService->logout
  49. }
  50. # **** Settings: récupère les variables utilisateur *****
  51. # **** Page: configuration générale de la page courante ****
  52. # **** Templating : configuration du template Flux ****
  53. page = PAGE
  54. page {
  55. typeNum = 0
  56. 5 = USER
  57. 5 {
  58. userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
  59. extensionName = Flux
  60. vendorName = FluidTYPO3
  61. pluginName = Page
  62. }
  63. 10 >
  64. }
  65. plugin.tx_flux {
  66. # Allow pages which have is_siteroot = 1 to inherit chosen template from parent.
  67. # Disable this to prevent subsites in a multisite environment from using the same template as the immediate parent of that site root.
  68. siteRootInheritance = 1
  69. }
  70. page.config.doctype=html5
  71. page.meta {
  72. keywords.field = keywords
  73. description.field = description
  74. author.field = author
  75. robots = index,follow,archive
  76. viewport = width=device-width
  77. }
  78. page.includeCSS {
  79. fontAwesome = {$publicRootPath}assets/style/ext/font-awesome/css/all.css
  80. slick = {$publicRootPath}assets/style/ext/slick.css
  81. datepicker = {$publicRootPath}assets/style/ext/jquery-ui.css
  82. leaflet = {$publicRootPath}assets/style/ext/leaflet.css
  83. }
  84. page.includeJS {
  85. jquery = {$publicRootPath}assets/script/jquery-3.4.1.min.js
  86. slick = {$publicRootPath}assets/script/slick.min.js
  87. datepicker = {$publicRootPath}assets/script/jquery-ui.js
  88. leaflet = {$publicRootPath}assets/script/leaflet.js
  89. main = {$publicRootPath}assets/script/main.js
  90. }
  91. page.includeJSFooter {
  92. }
  93. plugin.tx_ottemplating {
  94. view {
  95. templateRootPaths.0 = {$templateRootPath}
  96. partialRootPaths.0 = {$partialRootPath}
  97. layoutRootPaths.0 = {$layoutRootPath}
  98. }
  99. settings {
  100. # constantsnpm install -g node-sass
  101. opentalentWebsite = {$plugin.tx_ottemplating.settings.opentalent.website}
  102. opentalentLogoPath = {$plugin.tx_ottemplating.settings.opentalent.logoPath}
  103. opentalentFileStorageUrl = {$plugin.tx_ottemplating.settings.opentalent.fileStorageUrl}
  104. opentalentDashboardUrl = {$plugin.tx_ottemplating.settings.opentalent.dashboardUrl}
  105. opentalentLogoutUrl = {$plugin.tx_ottemplating.settings.opentalent.logoutUrl}
  106. structureId = {$plugin.tx_ottemplating.settings.organization.id}
  107. structureLogoId = {$plugin.tx_ottemplating.settings.organization.logoid}
  108. structureName = {$plugin.tx_ottemplating.settings.organization.name}
  109. structureEmail = {$plugin.tx_ottemplating.settings.organization.email}
  110. structureIsNetwork = {$plugin.tx_ottemplating.settings.organization.is_network}
  111. networkLogo = {$plugin.tx_ottemplating.settings.network.logo}
  112. networkName = {$plugin.tx_ottemplating.settings.network.name}
  113. networkUrl = {$plugin.tx_ottemplating.settings.network.url}
  114. # computed
  115. structureLogoUrl = {$plugin.tx_ottemplating.settings.opentalent.fileStorageUrl}{$plugin.tx_ottemplating.settings.organization.logoid}/0x60
  116. networkLogoUrl = /typo3conf/ext/ot_templating/Resources/Public/assets/media/{$plugin.tx_ottemplating.settings.network.logo}
  117. # Default values for flux parameters
  118. themeColor = blue
  119. displayCarousel = 1
  120. staticDonors = 0
  121. eventsLimit = 5
  122. eventsPeriod = 8
  123. }
  124. }
  125. # **** Form extension ****
  126. # @see https://docs.typo3.org/c/typo3/cms-form/9.5/en-us/Introduction/Index.html
  127. module.tx_form {
  128. settings {
  129. yamlConfigurations {
  130. 100 = EXT:ot_templating/Configuration/Form/CustomFormSetup.yaml
  131. }
  132. }
  133. }
  134. plugin.tx_form {
  135. settings {
  136. yamlConfigurations {
  137. 100 = EXT:ot_templating/Configuration/Form/CustomFormSetup.yaml
  138. }
  139. formDefinitionOverrides {
  140. Contact {
  141. finishers {
  142. 0 {
  143. options {
  144. recipientAddress = {$plugin.tx_ottemplating.settings.organization.email}
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }