diff --git a/composer.json b/composer.json
index 6726864b..090f2d67 100644
--- a/composer.json
+++ b/composer.json
@@ -22,7 +22,6 @@
"league/csv": "^9.2",
"league/period": "^4.9",
"lochmueller/staticfilecache": "^10.2",
- "pixelant/pxa-social-feed": "^2.0",
"ssch/typo3-encore": "^2.0",
"symfony/http-client": "^4.3",
"symfony/options-resolver": "^4.2",
diff --git a/composer.lock b/composer.lock
index 0ed2b79d..86856d17 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "bdb0e8fc25a5e98d75bea5bce07ec0bd",
+ "content-hash": "eca3ebc095a3587edf9bd8d7011159e2",
"packages": [
{
"name": "christophlehmann/imageoptimizer",
@@ -631,68 +631,6 @@
],
"time": "2020-05-25T17:44:05+00:00"
},
- {
- "name": "facebook/graph-sdk",
- "version": "5.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/facebook/php-graph-sdk.git",
- "reference": "2d8250638b33d73e7a87add65f47fabf91f8ad9b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/facebook/php-graph-sdk/zipball/2d8250638b33d73e7a87add65f47fabf91f8ad9b",
- "reference": "2d8250638b33d73e7a87add65f47fabf91f8ad9b",
- "shasum": ""
- },
- "require": {
- "php": "^5.4|^7.0"
- },
- "require-dev": {
- "guzzlehttp/guzzle": "~5.0",
- "mockery/mockery": "~0.8",
- "phpunit/phpunit": "~4.0"
- },
- "suggest": {
- "guzzlehttp/guzzle": "Allows for implementation of the Guzzle HTTP client",
- "paragonie/random_compat": "Provides a better CSPRNG option in PHP 5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Facebook\\": "src/Facebook/"
- },
- "files": [
- "src/Facebook/polyfills.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Facebook Platform"
- ],
- "authors": [
- {
- "name": "Facebook",
- "homepage": "https://github.com/facebook/php-graph-sdk/contributors"
- }
- ],
- "description": "Facebook SDK for PHP",
- "homepage": "https://github.com/facebook/php-graph-sdk",
- "keywords": [
- "facebook",
- "sdk"
- ],
- "support": {
- "issues": "https://github.com/facebook/php-graph-sdk/issues",
- "source": "https://github.com/facebook/php-graph-sdk/tree/5.7.0"
- },
- "time": "2018-12-11T22:56:31+00:00"
- },
{
"name": "fluidtypo3/vhs",
"version": "5.2.0",
@@ -1683,64 +1621,6 @@
},
"time": "2021-07-03T13:36:55+00:00"
},
- {
- "name": "pixelant/pxa-social-feed",
- "version": "v2.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/pixelant/pxa_social_feed.git",
- "reference": "dfabd173eee203b575f28aab98181be3556e05b0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pixelant/pxa_social_feed/zipball/dfabd173eee203b575f28aab98181be3556e05b0",
- "reference": "dfabd173eee203b575f28aab98181be3556e05b0",
- "shasum": ""
- },
- "require": {
- "facebook/graph-sdk": "~5.7.0",
- "php": ">=7.1",
- "typo3/cms-core": "^8.7 || ^9.5"
- },
- "require-dev": {
- "nimut/testing-framework": "^4.1",
- "squizlabs/php_codesniffer": "^3.4"
- },
- "type": "typo3-cms-extension",
- "extra": {
- "branch-alias": {
- "dev-master": "0.0.x-dev"
- },
- "typo3/cms": {
- "extension-key": "pxa_social_feed",
- "cms-package-dir": "{$vendor-dir}/typo3/cms",
- "web-dir": ".Build/Web"
- }
- },
- "autoload": {
- "psr-4": {
- "Pixelant\\PxaSocialFeed\\": "Classes/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "GPL-2.0-or-later"
- ],
- "authors": [
- {
- "name": "Pixelant",
- "email": "info@pixelant.net",
- "homepage": "https://www.pixelant.net",
- "role": "Developer"
- }
- ],
- "description": "Add Facebook, Instagram, and Twitter feeds to your site.",
- "support": {
- "issues": "https://github.com/pixelant/pxa_social_feed/issues",
- "source": "https://github.com/pixelant/pxa_social_feed/tree/v2.3.1"
- },
- "time": "2020-04-06T06:54:44+00:00"
- },
{
"name": "psr/cache",
"version": "1.0.1",
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/CityController.php b/public/typo3conf/ext/ep_products/Classes/Controller/CityController.php
index fdb27d79..845aab5a 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/CityController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/CityController.php
@@ -66,6 +66,8 @@ class CityController extends ActionController
$regionUid = $this->settings['regionUid'];
$season = $this->settings['season'];
$cities = $this->cityRepository->getTeasersByRegionAndSeason($regionUid, $season);
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('teasers', $cities);
}
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/HotelController.php b/public/typo3conf/ext/ep_products/Classes/Controller/HotelController.php
index 26160f7f..4a9cb6b6 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/HotelController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/HotelController.php
@@ -129,6 +129,8 @@ class HotelController extends ActionController
$bookable = $this->hotelDataService->getTeasersByCriteria($criteria);
$bookableHotelUids = array_keys($bookable);
$nonBookable = $this->hotelDataService->getDateIndependentTeasersByCriteria($criteria, $bookableHotelUids);
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('bookable', $bookable);
$this->view->assign('nonBookable', $nonBookable);
}
@@ -143,6 +145,8 @@ class HotelController extends ActionController
'type' => (int) $this->settings['type'],
];
$hotels = $this->hotelDataService->getDateIndependentTeasersByCriteria($criteria);
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('teasers', $hotels);
}
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/MapController.php b/public/typo3conf/ext/ep_products/Classes/Controller/MapController.php
index 2886cb53..804387c7 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/MapController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/MapController.php
@@ -102,6 +102,8 @@ class MapController extends ActionController
}
}
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('markerData', json_encode($markerData));
}
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php b/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
index 71bb0cd0..4d0efdfc 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
@@ -210,6 +210,8 @@ class ProductController extends ActionController
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
$dateFrom = $this->settings['dateFrom'] ? date('Y-m-d', $this->settings['dateFrom']) : null;
$dateTo = $this->settings['dateTo'] ? date('Y-m-d', $this->settings['dateTo']) : null;
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('teasers', $teasers);
$this->view->assign('dateAuto', $dateAuto);
$this->view->assign('filterSettings', $filterSettings);
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/RegionController.php b/public/typo3conf/ext/ep_products/Classes/Controller/RegionController.php
index 0b4e9a79..8a4c714b 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/RegionController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/RegionController.php
@@ -87,6 +87,8 @@ class RegionController extends ActionController
$countryUid = $this->settings['countryUid'];
$season = $this->settings['season'];
$regions = $this->regionRepository->getTeasersByCountryAndSeason($countryUid, $season);
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('teasers', $regions);
}
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/SnowreportController.php b/public/typo3conf/ext/ep_products/Classes/Controller/SnowreportController.php
index 4e4c9120..9821ba42 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/SnowreportController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/SnowreportController.php
@@ -52,7 +52,9 @@ class SnowreportController extends ActionController
{
$regionUids = GeneralUtility::trimExplode(',', $this->settings['regionUids'], true);
$list = $this->snowreportRepository->getSnowreportsForRegions($regionUids);
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('list', $list);
}
-}
\ No newline at end of file
+}
diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/WatchlistController.php b/public/typo3conf/ext/ep_products/Classes/Controller/WatchlistController.php
index 86a68502..74f46ac1 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/WatchlistController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/WatchlistController.php
@@ -34,6 +34,8 @@ class WatchlistController extends ActionController
public function listAction()
{
+ $data = $this->configurationManager->getContentObject()->data;
+ $this->view->assign('data', $data);
$this->view->assign('referringPageUid', $GLOBALS['TSFE']->id);
}
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/scroll_top_controller.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/scroll_top_controller.js
index 809cb7ce..d72da559 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/scroll_top_controller.js
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/scroll_top_controller.js
@@ -7,10 +7,9 @@ export default class extends Controller {
connect() {
useDebounce(this)
- const handler = this.debounce(() => {
+ window.addEventListener('scroll', this.debounce(() => {
this.showValue = window.scrollY > window.innerHeight/3
- }, 250)
- window.addEventListener('scroll', handler, { passive: true })
+ }, 250))
}
scroll(e) {
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/slider_controller.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/slider_controller.js
index f0645b46..029fef79 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/slider_controller.js
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/slider_controller.js
@@ -4,7 +4,7 @@ import Splide from '@splidejs/splide'
export default class extends Controller {
static classes = [ 'pagination' ]
- static values = { preset: String }
+ static values = { preset: String, arrows: Boolean, dots: Boolean }
connect() {
const classes = {
@@ -16,8 +16,12 @@ export default class extends Controller {
}
let options = {
+ perMove: 1,
+ gap: '1rem',
pauseOnHover: false,
pauseOnFocus: false,
+ pagination: this.dotsValue,
+ arrows: this.arrowsValue,
classes
}
@@ -25,33 +29,79 @@ export default class extends Controller {
case 'header-detail':
options = {
...options,
- perPage: 1,
rewind: true,
}
break;
case 'teasers':
options = {
...options,
- perPage: 3,
- perMove: 1,
- pagination: false,
- gap: '1rem',
+ perPage: 4,
+ padding: {
+ right: '2rem',
+ },
breakpoints: {
1200: {
- perPage: 3,
+ perPage: 4,
+ padding: {
+ right: '2rem',
+ },
},
- 992: {
- perPage: 2.75,
+ 1024: {
+ perPage: 3,
+ padding: {
+ right: '2rem',
+ },
+ },
+ 960: {
+ perPage: 2,
+ padding: {
+ right: '2rem',
+ },
},
640: {
- perPage: 2.5,
- },
- 384: {
- perPage: 1.75,
+ perPage: 1,
+ padding: {
+ right: '2rem',
+ },
}
}
}
break;
+ case 'teasers_embedded':
+ options = {
+ ...options,
+ perPage: 2,
+ padding: {
+ right: '25%',
+ },
+ breakpoints: {
+ 960: {
+ perPage: 3,
+ padding: {
+ right: '10%',
+ },
+ },
+ 768: {
+ perPage: 2,
+ padding: {
+ right: '25%',
+ },
+ },
+ 640: {
+ perPage: 2,
+ padding: {
+ right: '10%',
+ },
+ },
+ 512: {
+ perPage: 1,
+ padding: {
+ right: '10%',
+ },
+ },
+ }
+ }
+ break;
default:
}
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_slider.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_slider.scss
index 45b58fdb..0db62348 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_slider.scss
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_slider.scss
@@ -120,11 +120,11 @@
}
}
-.splide__arrows {
- @include mq($until: desktop) {
- display: none;
- }
-}
+//.splide__arrows {
+// @include mq($until: desktop) {
+// display: none;
+// }
+//}
.slider-pagination__arrow {
border: none;
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Header/Standalone.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Header/Standalone.html
new file mode 100644
index 00000000..e03841e6
--- /dev/null
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Header/Standalone.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html
index 2c0d0aa6..57360e8c 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html
@@ -10,13 +10,15 @@
-
-
-
-
-
-
-
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/Detail/MediaContainer.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/Detail/MediaContainer.html
index d791bef4..3b03b7d9 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/Detail/MediaContainer.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/Detail/MediaContainer.html
@@ -2,37 +2,38 @@
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
data-namespace-typo3-fluid="true">
- <:variable.set name="images" value="{media -> v:iterator.filter(propertyName: 'showinpreview', filter: 0)}"/>
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ -
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+