| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,36 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+/** |
|
| 4 |
+ * Slick slider for Contao |
|
| 5 |
+ * |
|
| 6 |
+ * Copyright (c) 2016 Benjamin Roth |
|
| 7 |
+ * |
|
| 8 |
+ * @license LGPL-3.0+ |
|
| 9 |
+ */ |
|
| 10 |
+ |
|
| 11 |
+ |
|
| 12 |
+/** |
|
| 13 |
+ * Asset version |
|
| 14 |
+ */ |
|
| 15 |
+$GLOBALS['TL_ASSETS']['SWIPERJS'] = '6.5.0'; |
|
| 16 |
+ |
|
| 17 |
+/** |
|
| 18 |
+ * Content elements |
|
| 19 |
+ */ |
|
| 20 |
+$GLOBALS['TL_CTE']['swiperSlider'] = array |
|
| 21 |
+( |
|
| 22 |
+ 'swiperSliderStart' => 'EsalesMedia\\ContaoSwiperBundle\\Frontend\\Element\\ContentSwiperSliderStart', |
|
| 23 |
+ 'swiperSliderStop' => 'EsalesMedia\\ContaoSwiperBundle\\Frontend\\Element\\ContentSwiperSliderStop', |
|
| 24 |
+ 'swiperSliderSlideStart'=> 'EsalesMedia\\ContaoSwiperBundle\\Frontend\\Element\\ContentSwiperSliderSlideStart', |
|
| 25 |
+ 'swiperSliderSlideStop' => 'EsalesMedia\\ContaoSwiperBundle\\Frontend\\Element\\ContentSwiperSliderSlideStop', |
|
| 26 |
+ 'swiperSliderImage' => 'EsalesMedia\\ContaoSwiperBundle\\Frontend\\Element\\ContentSwiperSliderImage' |
|
| 27 |
+); |
|
| 28 |
+ |
|
| 29 |
+/** |
|
| 30 |
+ * Wrapper elements |
|
| 31 |
+ */ |
|
| 32 |
+ |
|
| 33 |
+$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderStart'; |
|
| 34 |
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderStop'; |
|
| 35 |
+$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderSlideStart'; |
|
| 36 |
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderSlideStop'; |