This repository has been archived by the owner on Nov 19, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_localconf.php
38 lines (29 loc) · 1.74 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
/*
** Add the frontend plugins
**
** Trick: call addTypoScript() to setup a userFunc with namespace. addPItoST43() adds only a non-namespaced entry.
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY,'Classes/Plugin/SimpleMap/SimpleMap.php','_pi1','list_type',0);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('wec_map', 'setup', 'plugin.tx_wecmap_pi1.userFunc = JBartels\\WecMap\\Plugin\\SimpleMap\\SimpleMap->main');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY,'Classes/Plugin/FEUserMap/FEUserMap.php','_pi2','list_type',0);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('wec_map', 'setup', 'plugin.tx_wecmap_pi2.userFunc = JBartels\\WecMap\\Plugin\\FEUserMap\\FEUserMap->main');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY,'Classes/Plugin/DataTableMap/DataTableMap.php','_pi3','list_type',0);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('wec_map', 'setup', 'plugin.tx_wecmap_pi3.userFunc = JBartels\\WecMap\\Plugin\\DataTableMap\\DataTableMap->main');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:wec_map/Classes/Utility/Backend.php:Backend';
/* Add the Google geocoding service */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY,'geocode','JBartels\\WecMap\\GeocodeService\\Google',
array(
'title' => 'Google Maps Address Lookup API V3',
'description' => '',
'subtype' => '',
'available' => TRUE,
'priority' => 100,
'quality' => 100,
'os' => '',
'exec' => '',
'className' => 'JBartels\\WecMap\\GeocodeService\\Google'
)
);
?>