-
Notifications
You must be signed in to change notification settings - Fork 17
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
Activate useScrictLang in DayRepository->getDaysForListType, getSubQueryBuilder #428
Comments
Hello @derBoogie seems that doOverlay should be FALSE, if you have configured strict mode. So, for now, there seems to be a miss-configuration in your system. PS: I prefer to use one of these EventListeners in DayRepository to adapt all these Queries to your needs PS: All these Queries will be re-factored again within the next big release. Stefan |
Hi @sfroemkenjw, I updated Events2 up to version 9.1.7 with TYPO3 version 12.4.25. The problem is still there. TJ |
This is not so easy. TYPO3 internally also "strict" is a kind of overlay. In LanguageAspect it is called My problem is: I don't want to show a list of events, I want to show a list of Today I have tried to select Maybe I can throw away all extbase stuff and query just the expected event records for a specific date range. Then apply overlays and then calculating the day records again. That may work, but cost some more queries. I already have asked TYPO3 Core guys, but CTE is available since TYPO3 13 first. So, overlay would be done directly in query, without PHP based overlay system (TYPO3 API). I have no clue about CTE at all. Don't know if I have time to solve it that way in events2 for TYPO3 13. Stefan |
I have just tested a further possibility. Get all day records and remove all records where related Maybe I will find a solution while upgrading to TYPO3 13. Stefan |
After the update to v8 of Events2 the translated page (EN) shows the events from the default language (DE) if no translated events are currently available. I would like to show a message like "No events found" instead.
This can be done if the param $useScrictLang is set to true in DayRepository->getDaysForListType $subQueryBuilder = $this->getSubQueryBuilder($queryBuilder, true); in line 91.
Can you add a condition to set this param?
The text was updated successfully, but these errors were encountered: