@ErHaWeb@phpc.social
@ErHaWeb@phpc.social avatar

ErHaWeb

@ErHaWeb@phpc.social

Freelancer since 2011, #TYPO3 CMS Certified
Integrator (#TCCI) & Developer (#TCCD)
#TYPO3Association Bronze Member

This profile is from a federated server and may be incomplete. Browse more on the original instance.

brotkrueml, to php
@brotkrueml@phpc.social avatar

New blog article:

How to maintain an extension for multiple TYPO3 versions with and without site sets

https://brotkrueml.dev/how-to-maintain-an-extension-for-multiple-typo3-versions-with-and-without-site-sets/

Maybe it is helpful 🤓

ErHaWeb,
@ErHaWeb@phpc.social avatar

@brotkrueml Thank you very much for the great instructions. This is useful for my v12/13 extensions.

To be able to structure TypoScript files better, I like to import entire directories that can contain several *.typoscript files. So far I have used the directories Constants/ and Setup/ under Configuration/TypoScript/.

Would you leave these directories there in future or also move them to Configuration/Sets/<Identifier>/?

ErHaWeb,
@ErHaWeb@phpc.social avatar

@brotkrueml
The fact that these are TypoScript files, which have historically always been located under Configuration/TypoScript/, speaks against the move.

An argument in favor of the move is that the included files belong to the site set.

Finally, the question remains whether there are any technical problems if additional directories are created in the site set folder.

ErHaWeb,
@ErHaWeb@phpc.social avatar

@brotkrueml Thanks! Ok, I was only referring to local includes, so @import is still good for structuring complex TypoScripts.

Thinking about it, it also seems more logical to me to move the directories to Configuration/Sets/<Identifier>/ where they belong.

Everything under Configuration/TypoScript is then reserved for the global, cross-site TypoScript code, if necessary at all.

From v13 onwards, it will probably often be possible to dispense with Configuration/TypoScript/ altogether.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines