setup.txt 6.5 KB

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