finiweb:intern:typo3

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
finiweb:intern:typo3 [2021/09/24 11:59] – [Own extension in Composer] afineskefiniweb:intern:typo3 [2022/08/15 07:28] (aktuell) afineske
Zeile 1: Zeile 1:
 ====== Typo3 ====== ====== Typo3 ======
 +
 ===== Composer install ===== ===== Composer install =====
 +
 ==== Typo3 8 LTS ==== ==== Typo3 8 LTS ====
-<code>composer create-project typo3/cms-base-distribution <projectName> ^8</code> 
-==== Typo3 9 LTS ==== 
-<code>composer create-project typo3/cms-base-distribution <projectName> ^9</code> 
-===== Own extension in Composer ===== 
  
-Create ''sources'' folder in Project Folder and edit composer.json to add highlighted line <sxh; highlight:3> … "repositories": [ 
 <code> <code>
-{ "type": "path", "url": "Source/Extensions/*"}+composer create-project typo3/cms-base-distribution <projectName> ^8
  
 </code> </code>
  
-], … </sxh> add your extension to ''require'' section (see ''composer.json'' file in your extension) <sxh> … "require": {+==== Typo3 9 LTS ==== 
 <code> <code>
-    ... +composer create-project typo3/cms-base-distribution <projectName> ^9
-    "yourvendor/yourextension": "^9.5" +
-},+
  
 </code> </code>
  
-… </sxh>+===== Own extension in Composer =====
  
 +Create ''Sources/Extensions'' folder in Project Folder and edit composer.json to add highlighted line 
 +<sxh; highlight:3>
 + …,
 +"repositories": [
 +    { "type": "path", "url": "Source/Extensions/*"}
 +], … 
 +</sxh>
 +add your extension to ''require'' section (see ''composer.json'' file in your extension) 
 +<sxh>
 +..., 
 +"require": {
 +    "yourvendor/yourextension": "^9.5"
 +},
 +</sxh>
  
 ===== ddev ===== ===== ddev =====
  
 ==== ddev & typo3 quick setup ==== ==== ddev & typo3 quick setup ====
-Five lines to setup and run a typo3 installation: + 
-<sxh bash> +Five lines to setup and run a typo3 installation: <sxh bash> mkdir typo3v9 && cd typo3v9 ddev config project-type=typo3 docroot=public create-docroot=true ddev composer create typo3/cms-base-distribution:"9.5" prefer-dist ddev start touch public/FIRST_INSTALL && ddev launch typo3/install.php </sxh> 
-mkdir typo3v9 && cd typo3v9 +
-ddev config --project-type=typo3 --docroot=public --create-docroot=true +
-ddev composer create typo3/cms-base-distribution:"9.5" --prefer-dist +
-ddev start +
-touch public/FIRST_INSTALL && ddev launch typo3/install.php +
-</sxh>+
 ==== html Suffix Typo3 9.5 ==== ==== html Suffix Typo3 9.5 ====
-In die config.yaml der Seite einfügen + 
-<sxh yaml> +In die config.yaml der Seite einfügen <sxh yaml> routeEnhancers: 
-routeEnhancers: + 
-  PageTypeSuffix: +<code> 
-    type: PageType +PageTypeSuffix: 
-    default: '.html' +  type: PageType 
-    map: +  default: '.html' 
-      '.html': 0+  map: 
 +    '.html': 0 
 + 
 +</code> 
 </sxh> </sxh>
 +
 +
  • finiweb/intern/typo3.1632484749.txt.gz
  • Zuletzt geändert: 2021/09/24 11:59
  • von afineske