-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
[FEATURE] Introduce site sets for v13 #2519
Conversation
Numerical indexes are deprecated since TYPO3 12
And document them using the automatic directive
And document them using the automatic directive
Depends on #2520 |
And document them using the automatic directive
pid = {$plugin.tx_news.settings.sitemap.startingpoint} | ||
recursive = {$plugin.tx_news.settings.sitemap.recursive} | ||
pid = {$plugin.tx_news.settings.sitemap.startingpoint ?? $news.seo.sitemap.startingpoint} | ||
recursive = {$plugin.tx_news.settings.sitemap.recursive ?? news.seo.sitemap.recursive} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there :) I'm just wondering what syntax is actual valid?
?? $news...
or ?? news...
With or without $ on the right right of the ??-operator. Or are both valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variant with $
on the right side of ??
operator seems to be the right way: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Configuration/TypoScript/Syntax/Operators/Index.html#null-coalescing-operator-for-typoscript-constants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying
See also https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/SiteSets.html
Resolves #2475