setup.txt 6.1 KB

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