-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is now possible to group locations. Each location can have arbitrary children. That can be used for editorial structuring. Filtering for a location will always find all dates where the location or one of the child locations is assigned. One use case can be to group imported locations and provide a grouped location for filtering in frontend. Relates: #11233
- Loading branch information
1 parent
a02435b
commit 39dfc0b
Showing
9 changed files
with
274 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
3.9.0 | ||
===== | ||
|
||
Breaking | ||
-------- | ||
|
||
Nothing | ||
|
||
Features | ||
-------- | ||
|
||
* Add grouping of locations. | ||
It is now possible to group locations. | ||
Each location can have arbitrary children. | ||
|
||
That can be used for editorial structuring. | ||
Filtering for a location will always find all dates where the location or one of the child locations is assigned. | ||
|
||
One use case can be to group imported locations and provide a grouped location for filtering in frontend. | ||
|
||
Backport of 4.0.0 features: | ||
|
||
* Add meta tags. | ||
A new class is added which will add meta tags for dates and events. | ||
The class has an interface which allows it to be replaced via DI to alter behaviour. | ||
|
||
* Import keywords for events from destination.one. | ||
That way keywords are available for usage in meta tags. | ||
|
||
* Add page title provider. That way it is possible to alter the TYPO3 page title when showing a date or event. | ||
|
||
Fixes | ||
----- | ||
|
||
Nothing | ||
|
||
Tasks | ||
----- | ||
|
||
* Add image handling support in nix shell. | ||
|
||
Deprecation | ||
----------- | ||
|
||
Nothing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
118 changes: 118 additions & 0 deletions
118
Tests/Functional/Frontend/Fixtures/Database/FilterDatesByParentLocationViaFlexform.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
'tt_content' => [ | ||
[ | ||
'pid' => '1', | ||
'uid' => '1', | ||
'CType' => 'list', | ||
'list_type' => 'events_datelist', | ||
'header' => 'Kino Events', | ||
'pi_flexform' => '<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | ||
<T3FlexForms> | ||
<data> | ||
<sheet index="sDEF"> | ||
<language index="lDEF"> | ||
<field index="settings.locations"> | ||
<value index="vDEF">1</value> | ||
</field> | ||
</language> | ||
</sheet> | ||
</data> | ||
</T3FlexForms> | ||
', | ||
], | ||
], | ||
'tx_events_domain_model_location' => [ | ||
[ | ||
'uid' => '1', | ||
'pid' => '2', | ||
'name' => 'Parent', | ||
'street' => '', | ||
'city' => '', | ||
'zip' => '', | ||
'country' => '', | ||
'longitude' => '', | ||
'latitude' => '', | ||
'children' => '2,3', | ||
], | ||
[ | ||
'uid' => '2', | ||
'pid' => '2', | ||
'name' => 'Child', | ||
'street' => 'Theaterplatz 4', | ||
'city' => 'Weimar', | ||
'zip' => '99423', | ||
'country' => 'Deutschland', | ||
'longitude' => '11.3262489', | ||
'latitude' => '50.9800023', | ||
'district' => 'Zentrum', | ||
// Validate we don't end in endless recursion | ||
'children' => '1', | ||
], | ||
[ | ||
'uid' => '3', | ||
'pid' => '2', | ||
'name' => 'Child 2', | ||
'street' => 'Cranach-Haus Markt 11/12', | ||
'city' => 'Weimar', | ||
'zip' => '99423', | ||
'country' => 'Deutschland', | ||
'longitude' => '11.330248', | ||
'latitude' => '50.979349', | ||
'children' => '', | ||
], | ||
], | ||
'tx_events_domain_model_event' => [ | ||
[ | ||
'uid' => '1', | ||
'pid' => '2', | ||
'title' => 'Was hat das Universum mit mir zu tun?', | ||
'global_id' => 'e_100478529', | ||
'teaser' => '„WAS HAT DAS UNIVERSUM MIT MIR ZU TUN?“ | ||
Ein Abend mit Prof. Dr. Harald Lesch', | ||
'details' => '„WAS HAT DAS UNIVERSUM MIT MIR ZU TUN?“ | ||
Ein Abend mit Prof. Dr. Harald Lesch | ||
Auf den Spuren von Goethes Naturphilosophie ist der Astrophysiker und Wissenschaftsjournalist Prof. Dr. Harald Lesch in Weimar schon mehrmals präsent gewesen. Jetzt hält er einen Vortrag zu keiner geringeren Frage als „Was hat das Universum mit mir zu tun?“ Ob Goethe darauf eine pointierte Antwort eingefallen wäre? Sein Faust wollte die Spur seiner Erdentage nicht in Äonen untergehen sehen. Harald Lesch behauptet: Wir sind und bleiben stets Teil der Äonen - denn „wir sind alle Sternenstaub. Vor einer halben Ewigkeit ist ein Stern explodiert und hat alle Stoffe aus denen wir bestehen hervorgebracht. Und wenn das bei uns geklappt hat, könnte es auch noch woanders passiert sein.“ Erleben Sie einen faszinierenden Mix aus Rednerkunst und virtuoser musikalischer Begleitung. Neben Prof. Dr. Harald Lesch begibt sich der Musiker Hans Raths (Bayon) mit auf die Reise ins theatralische und philosophische Universum. Eine Veranstaltung nicht nur für Science-Fiction-Freaks, sondern für alle Kosmopoliten!', | ||
'price_info' => 'Preis inklusive Platzierung mit Namensschild und einem Pausengetränk Ihrer Wahl', | ||
'location' => '3', | ||
], | ||
[ | ||
'uid' => '2', | ||
'pid' => '2', | ||
'title' => 'Lotte in Weimar', | ||
'global_id' => 'e_100453137', | ||
'teaser' => 'Ein „Goethe-Götter-Lustspiel“ nach dem gleichnamigen Roman von Thomas Mann', | ||
'details' => 'LOTTE IN WEIMAR | ||
Ein „Goethe-Götter-Lustspiel“ nach dem gleichnamigen Roman von Thomas Mann | ||
„Welch buchenswertes Ereignis!“, ruft der Kellner Mager aus, als er erfährt, wer da in seinem Gasthaus „Zum Elephanten“ abgestiegen ist: Die berühmte Heldin aus Goethes „Die Leiden des jungen Werthers“, Charlotte Kestner, geborene Buff aus Wetzlar, – das „Urbild“ der Lotte sozusagen! Eine heiter-ironische Abrechnung mit dem Starkult anno 1816 fast am Originalschauplatz. Mit Regine Heintze, Heike Meyer und Detlef Heintze. Inszenierung: Michael Kliefert/ Detlef Heintze.', | ||
'price_info' => 'Preise inklusive Platzierung mit Namensschild und einem Pausengetränk Ihrer Wahl (ermäßigt alkoholfrei)', | ||
'location' => '2', | ||
], | ||
], | ||
'tx_events_domain_model_date' => [ | ||
[ | ||
'uid' => '1', | ||
'pid' => '2', | ||
'event' => '1', | ||
'start' => '1661626800', | ||
'end' => '1661632200', | ||
], | ||
[ | ||
'uid' => '2', | ||
'pid' => '2', | ||
'event' => '1', | ||
'start' => '1660158000', | ||
'end' => '1660163400', | ||
], | ||
[ | ||
'uid' => '3', | ||
'pid' => '2', | ||
'event' => '2', | ||
'start' => '1661194800', | ||
'end' => '1661200200', | ||
], | ||
], | ||
]; |
Oops, something went wrong.