Typo3 no symlinks between custom ext and public dir

79 views Asked by At

I have no symlinks between my custom extension in packages/ and public/typo3conf/.

I tried this (composer - symlink for local extension Typo3 v12) but without success.

Then I tried: ln -s public/typo3conf/ packages/ and ln -s packages/ public/typo3conf/

This is my composer.json at root:

{
    "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/*"
        }
    ]
}

I hope thats understandable. Let me know if you need further informations.

1

There are 1 answers

0
Rohan Parmar On

From the TYPO3 v12, there are no more symlinks between packages/ and public/typo3conf/.

Your custom extension symlinks will be available in the vendor/ directory.

Reference: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/DirectoryStructure/Index.html