-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.php
52 lines (45 loc) · 1.84 KB
/
ext_tables.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Feed',
'f2contentce Feed'
);
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Gmaps',
'f2contentce Gmaps'
);
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Video',
'f2contentce Video'
);
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Flickr',
'f2contentce Flickr'
);
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Gallery',
'f2contentce Gallery'
);
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'f2contentce');
// Flexform para Feeds
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_feed'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_feed', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_feed.xml');
// Flexform para Video
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_video'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_video', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_video.xml');
// Flexform para Google Maps
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_gmaps'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_gmaps', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_gmaps.xml');
// Flexform para Galerias de fotos
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_gallery'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_gallery', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_gallery.xml');
// Icono en el asistente de elementos de contenido
if (TYPO3_MODE == 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_f2contentce_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'Classes/Util/class.tx_f2contentce_wizicon.php';
}
?>