我的自定义扩展在
packages/
和 public/typo3conf/
之间没有符号链接。
我尝试了这个(composer - 本地扩展 Typo3 v12 的符号链接)但没有成功。
然后我尝试了:
ln -s public/typo3conf/ packages/
和ln -s packages/ public/typo3conf/
这是我根目录下的composer.json:
{
"name": "typo3/cms-base-distribution",
"description" : "TYPO3 CMS Base Distribution",
"license": "GPL-2.0-or-later",
"type": "project",
"config": {
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"platform": {
"php": "8.1.1"
},
"sort-packages": true
},
"require": {
"b13/container": "^2.3",
"colin/frontend": "^1.0",
"twbs/bootstrap": "5.3.2",
"typo3/cms-backend": "^12.4.0",
"typo3/cms-belog": "^12.4.0",
"typo3/cms-beuser": "^12.4.0",
"typo3/cms-core": "^12.4.0",
"typo3/cms-dashboard": "^12.4.0",
"typo3/cms-extbase": "^12.4.0",
"typo3/cms-extensionmanager": "^12.4.0",
"typo3/cms-felogin": "^12.4.0",
"typo3/cms-filelist": "^12.4.0",
"typo3/cms-fluid": "^12.4.0",
"typo3/cms-fluid-styled-content": "^12.4.0",
"typo3/cms-form": "^12.4.0",
"typo3/cms-frontend": "^12.4.0",
"typo3/cms-impexp": "^12.4.0",
"typo3/cms-info": "^12.4.0",
"typo3/cms-install": "^12.4.0",
"typo3/cms-reactions": "^12.4.0",
"typo3/cms-rte-ckeditor": "^12.4.0",
"typo3/cms-seo": "^12.4.0",
"typo3/cms-setup": "^12.4.0",
"typo3/cms-sys-note": "^12.4.0",
"typo3/cms-t3editor": "^12.4.0",
"typo3/cms-tstemplate": "^12.4.0",
"typo3/cms-viewpage": "^12.4.0",
"typo3/cms-webhooks": "^12.4.0"
},
"repositories": [
{
"type": "path",
"url": "./packages/*"
}
]
}
我希望这是可以理解的。如果您需要更多信息,请告诉我。
从 TYPO3 v12 开始,
packages/
和 public/typo3conf/
之间不再有符号链接。
您的自定义扩展符号链接将在
vendor/
目录中可用。