forked from DMKEBUSINESSGMBH/typo3-mktools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
49 lines (39 loc) · 2.14 KB
/
ext_tables.php
File metadata and controls
49 lines (39 loc) · 2.14 KB
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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
////////////////////////////////
// Plugin anmelden
////////////////////////////////
// Einige Felder ausblenden
$TCA['tt_content']['types']['list']['subtypes_excludelist']['tx_mktools'] = 'layout,select_key,pages';
// Das tt_content-Feld pi_flexform einblenden
$TCA['tt_content']['types']['list']['subtypes_addlist']['tx_mktools'] = 'pi_flexform';
tx_rnbase_util_Extensions::addPiFlexFormValue('tx_mktools', 'FILE:EXT:'.$_EXTKEY.'/flexform_main.xml');
tx_rnbase_util_Extensions::addPlugin(
array('LLL:EXT:'.$_EXTKEY.'/locallang_db.php:plugin.mktools.label', 'tx_mktools'),
'list_type',
'mktools'
);
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/action/', 'MK Tools - Actions');
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/onsiteseo/', 'MK Tools - Onsite Seo');
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/tsbasic/', 'MK Tools - Basis TypoScript');
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/contentrenderer', 'MK Tools - Ajax Content Renderer');
// default TS für den content replacer
if (tx_mktools_util_miscTools::isContentReplacerActive()) {
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/contentreplacer', 'MK Tools - Content Replacer');
}
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/contentmodal', 'MK Tools - Ajax Modal Renderer');
// Robots-Meta Tag
if (tx_mktools_util_miscTools::isSeoRobotsMetaTagActive()) {
// default TS
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/seorobotsmetatag', 'MK Tools - SEO Robots Meta Tag');
}
if (tx_mktools_util_miscTools::shouldFalImagesBeAddedToCalEvent()) {
// default TS
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/cal', 'MK Tools - FAL Images für Cal Event');
}
if (tx_mktools_util_miscTools::shouldFalImagesBeAddedToTtNews()) {
// default TS
tx_rnbase_util_Extensions::addStaticFile($_EXTKEY, 'Configuration/TypoScript/tt_news', 'MK Tools - FAL Images für TT_News');
}