oheil
oheil

Reputation: 107

TYPO3 11.5.2 static template "site package" not showing up

TYPO3 11.5.2

I'm following the TYPO3 Sitepackage Tutorial.

At the topic Extension installation I can't solve the issue that the static template "site package" does not show up in "Available Items" list.

TL;DR: solution: access rights to the extensions folder were wrong for apache/php to read.

The extension is installed via composer and visible: Screenshot Extension Manager

But no static template to pick: Screenshot Template editing

I actually did the whole process twice, the first time I changed the site package source, which I downloaded from github , to have our local names, so I thought, ok I did it wrong. The second attempt I didn't change anything but with the same result.

And idea how I can find out what's happening or why the desired result is not happening?

Why can't I pick the site package static template?

I found something which may lead to a solution: When I do "Admin Tools -> Upgrade -> Scan Extension Files" I get an error for extension "site package":

(1/1) #1499777330 RuntimeException Extension path /var/www/html/typo3_11/public/typo3conf/ext/site_package does not exist or is no directory.

which comes from

in /var/www/html/typo3_11/public/typo3/sysext/install/Classes/Controller/UpgradeController.php line 681
            1499777261
        );
    }
    if (!is_dir($extensionBasePath)) {
        throw new \RuntimeException(
            'Extension path ' . $extensionBasePath . ' does not exist or is no directory.',
            1499777330
        );
    }

The reason is clear, because it's not a directory but a symbolic link to ../../../local_packages/site_package

which is the recommended way. So this may be not related to the issue that the static template doesn't show in the "Availabe items" list, but perhaps it helps to find the real reason.

Removing the symbolic link and moving folder "site package" from local_packages to typo3conf/ext resolves the issue, the static template "site package" is available in "Available items". This doesn't seem to be a viable solution because of the recommended way this should be installed via composer. Or perhaps there is something wrong in the composer installation?

Upvotes: 2

Views: 1004

Answers (1)

Jonas Eberle
Jonas Eberle

Reputation: 2921

It should be available there with this code (manual).

After clearing system caches, I would expect it to show up.

Upvotes: 1

Related Questions