diff --git a/Classes/Command/DestinationDataImportCommand.php b/Classes/Command/DestinationDataImportCommand.php index dd90041..af9f75b 100644 --- a/Classes/Command/DestinationDataImportCommand.php +++ b/Classes/Command/DestinationDataImportCommand.php @@ -29,7 +29,7 @@ class DestinationDataImportCommand extends Command { 'region-uid', InputArgument::OPTIONAL, 'What is the region uid?', - '1' + '6' ); $this->addArgument('rest-experience', InputArgument::OPTIONAL, diff --git a/Configuration/TypoScript/constants.typoscript b/Configuration/TypoScript/constants.typoscript index 1aa0668..6ae8951 100644 --- a/Configuration/TypoScript/constants.typoscript +++ b/Configuration/TypoScript/constants.typoscript @@ -13,6 +13,8 @@ plugin.tx_events { storagePid = } settings { + # cat=plugin.tx_events//a; type=string; label=Default Image + defaultImagePath = typo3conf/ext/events/Resources/Public/Images/default.jpg destinationData { # cat=plugin.tx_events//a; type=string; label=Rest Url restUrl = http://meta.et4.de/rest.ashx/search/ diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index 0f88a79..c3d1660 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -36,6 +36,7 @@ plugin.tx_events { defaulDetailEventsPid = defaultDetailDatesPid = + defaultImagePath = {$plugin.tx_events.settings.defaultImagePath} paginate { # can be overriden by plugin diff --git a/Resources/Private/Partials/Date/ListDefault.html b/Resources/Private/Partials/Date/ListDefault.html index 57e8b16..4bcb31f 100644 --- a/Resources/Private/Partials/Date/ListDefault.html +++ b/Resources/Private/Partials/Date/ListDefault.html @@ -10,7 +10,9 @@ - Dummy + + Dummy + diff --git a/Resources/Private/Partials/Date/ListTable.html b/Resources/Private/Partials/Date/ListTable.html index 2099e60..3a5d01c 100644 --- a/Resources/Private/Partials/Date/ListTable.html +++ b/Resources/Private/Partials/Date/ListTable.html @@ -28,7 +28,9 @@ - Dummy + + Dummy + diff --git a/Resources/Private/Templates/Date/List.html b/Resources/Private/Templates/Date/List.html index d3f7e43..f447317 100644 --- a/Resources/Private/Templates/Date/List.html +++ b/Resources/Private/Templates/Date/List.html @@ -1,16 +1,16 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Private/Templates/Date/Search.html b/Resources/Private/Templates/Date/Search.html index c2360a0..cd26875 100644 --- a/Resources/Private/Templates/Date/Search.html +++ b/Resources/Private/Templates/Date/Search.html @@ -40,7 +40,7 @@ GLOBAL EVENT ID: {date.event.globalId} - Dummy + Dummy diff --git a/Resources/Private/Templates/Date/Show.html b/Resources/Private/Templates/Date/Show.html index b037174..bb388da 100644 --- a/Resources/Private/Templates/Date/Show.html +++ b/Resources/Private/Templates/Date/Show.html @@ -1,38 +1,38 @@ - - -
-
- - - - - - Dummy - - -
-
-

- {date.start} - {date.start} - {date.start} Uhr -

-

{date.event.title}

-

{date.event.teaser}

- {date.event.details} -

{event.price_info}

+ + +
+
+ + + + + + Dummy + + +
+
+

+ {date.start} + {date.start} + {date.start} Uhr +

+

{date.event.title}

+

{date.event.teaser}

+ {date.event.details} +

{event.price_info}

-
-
-

Veranstaltungsort:
- {date.event.street}
- {date.event.zip} {date.event.city}
-

-
-
+
+
+

Veranstaltungsort:
+ {date.event.street}
+ {date.event.zip} {date.event.city}
+

+
+
-
-
-
+
+
+
\ No newline at end of file diff --git a/Resources/Private/Templates/Date/Teaser.html b/Resources/Private/Templates/Date/Teaser.html index 9061dae..8d142ad 100644 --- a/Resources/Private/Templates/Date/Teaser.html +++ b/Resources/Private/Templates/Date/Teaser.html @@ -17,7 +17,9 @@ - Dummy + + Dummy + diff --git a/Resources/Private/Templates/Event/List.html b/Resources/Private/Templates/Event/List.html index 3cfb726..b8235aa 100644 --- a/Resources/Private/Templates/Event/List.html +++ b/Resources/Private/Templates/Event/List.html @@ -1,31 +1,33 @@ - + - -
- -
- -
-
- {event.region.title} -

{event.title}

-

{event.teaser}

-
-
-
-
-
-
+ +
+ +
+ +
+
+ {event.region.title} +

{event.title}

+

{event.teaser}

+
+
+
+
+
+
\ No newline at end of file diff --git a/Resources/Private/Templates/Event/Search.html b/Resources/Private/Templates/Event/Search.html index 73dd4af..2e5cd72 100644 --- a/Resources/Private/Templates/Event/Search.html +++ b/Resources/Private/Templates/Event/Search.html @@ -11,7 +11,9 @@ - Dummy + + Dummy + diff --git a/Resources/Private/Templates/Event/Show.html b/Resources/Private/Templates/Event/Show.html index 4937010..49d418b 100644 --- a/Resources/Private/Templates/Event/Show.html +++ b/Resources/Private/Templates/Event/Show.html @@ -1,35 +1,37 @@ - - -
-
- - - - - - - - Dummy - - -
-
-

{event.title}

-

{event.teaser}

- {event.details} -

{event.price_info}

+ + +
+
+ + + + + + + + + Dummy + + + +
+
+

{event.title}

+

{event.teaser}

+ {event.details} +

{event.price_info}

-
-
-

Veranstaltungsort:
- {event.street}
- {event.zip} {event.city}
-

-
-
+
+
+

Veranstaltungsort:
+ {event.street}
+ {event.zip} {event.city}
+

+
+
-
-
-
+
+
+
\ No newline at end of file diff --git a/Resources/Private/Templates/Event/Teaser.html b/Resources/Private/Templates/Event/Teaser.html index 3840aa4..56ace96 100644 --- a/Resources/Private/Templates/Event/Teaser.html +++ b/Resources/Private/Templates/Event/Teaser.html @@ -13,7 +13,9 @@ - Dummy + + Dummy + diff --git a/Resources/Public/Images/default.jpg b/Resources/Public/Images/default.jpg new file mode 100644 index 0000000..1d216a4 Binary files /dev/null and b/Resources/Public/Images/default.jpg differ