-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content.render slide -1 content_from_pid #1640
Comments
So I analyzed that. $rootline = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Utility\RootlineUtility::class, $pageUid)->get(); RootlineUtility is backward compatible. |
Including on TYPO3 8.7? |
suggestion use TYPO3\CMS\Core\Utility\RootlineUtility;
if (false === isset(static::$cachedRootlines[$cacheKey])) {
$rootline = GeneralUtility::makeInstance(RootlineUtility::class, $pageUid);
try {
$rootline = $rootline->get();
} catch (\RuntimeException $ex) {
if (isset($GLOBALS['TSFE'])) {
$rootline = (array) $GLOBALS['TSFE']->rootLine;
} else {
$rootline = [];
}
}
if (true === $reverse) {
$rootline = array_reverse($rootline);
}
static::$cachedRootlines[$cacheKey] = $rootline;
} Now the disableGroupAccessCheck is still missing. |
Does nobody have the problem with v10? |
Sorry, I don't use that feature anymore from vhs anymore. I'm using my own TypoScript since I don't want to rely too much on 3rd party extensions - even if it feels more productive |
Typo3: 10.2
VHS: 6
I have a globe that has content_from_pid Home-Site.
However, it shows the content of the globe with slide = "- 1".
The error is probably caused by content_from_pid.
I remove slide = "- 1" it works with content_from_pid but no inheritance anymore.
The text was updated successfully, but these errors were encountered: