Browse code

Implement a new fullpage.js based scrolling and slide handling and remove the old one

Benjamin Roth authored on27/03/2015 12:46:35
Showing1 changed files
... ...
@@ -13,9 +13,9 @@
13 13
  */
14 14
 
15 15
 /**
16
- * onepage scroll version
16
+ * onepage scroll vendor libraries version
17 17
  */
18
-define('JQMOUSEWHEEL', '3.1.12');
18
+define('JQFULLPAGE', '2.6.2');
19 19
 
20 20
 $GLOBALS['TL_CTE']['onePage'] = array
21 21
 (
... ...
@@ -24,4 +24,6 @@ $GLOBALS['TL_CTE']['onePage'] = array
24 24
 );
25 25
 
26 26
 $GLOBALS['TL_WRAPPERS']['start'][] = 'onepageStart';
27
-$GLOBALS['TL_WRAPPERS']['stop'][] = 'onepageStop';
28 27
\ No newline at end of file
28
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'onepageStop';
29
+
30
+$GLOBALS['TL_HOOKS']['getArticle'][] = array('\\OnePage\\Hooks\\OnePageHooks','eSMGetArticle');
29 31
\ No newline at end of file
Browse code

Initial commit

Benjamin Roth authored on26/03/2015 16:10:20
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media One-Page toolkit for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2015 eSales Media
7
+ *
8
+ * @package    eSM_onePage
9
+ * @link       http://www.esales-media.de
10
+ * @license    commercial
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+/**
16
+ * onepage scroll version
17
+ */
18
+define('JQMOUSEWHEEL', '3.1.12');
19
+
20
+$GLOBALS['TL_CTE']['onePage'] = array
21
+(
22
+    'onepageStart' => 'OnePage\\ContentPageStart',
23
+    'onepageStop' => 'OnePage\\ContentPageStop',
24
+);
25
+
26
+$GLOBALS['TL_WRAPPERS']['start'][] = 'onepageStart';
27
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'onepageStop';
0 28
\ No newline at end of file