forked from TYPO3-extensions/mm_forum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
executable file
·39 lines (32 loc) · 2.42 KB
/
ext_localconf.php
File metadata and controls
executable file
·39 lines (32 loc) · 2.42 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
<?php
if (!defined ("TYPO3_MODE")) die ("Access denied.");
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","tt_content.CSS_editor.ch.tx_mmforum_pi1 = < plugin.tx_mmforum_pi1.CSS_editor",43);
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","tt_content.CSS_editor.ch.tx_mmforum_pi2 = < plugin.tx_mmforum_pi2.CSS_editor",43);
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","tt_content.CSS_editor.ch.tx_mmforum_pi3 = < plugin.tx_mmforum_pi3.CSS_editor",43);
t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','tt_content.CSS_editor.ch.tx_mmforum_pi4 = < plugin.tx_mmforum_pi4.CSS_editor',43);
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","tt_content.CSS_editor.ch.tx_mmforum_pi5 = < plugin.tx_mmforum_pi5.CSS_editor",43);
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","tt_content.CSS_editor.ch.tx_mmforum_pi6 = < plugin.tx_mmforum_pi6.CSS_editor",43);
t3lib_extMgm::addPItoST43($_EXTKEY,"pi1/class.tx_mmforum_pi1.php","_pi1","list_type",1);
t3lib_extMgm::addPItoST43($_EXTKEY,"pi2/class.tx_mmforum_pi2.php","_pi2","list_type",0);
t3lib_extMgm::addPItoST43($_EXTKEY,"pi3/class.tx_mmforum_pi3.php","_pi3","list_type",1);
t3lib_extMgm::addPItoST43($_EXTKEY,'pi4/class.tx_mmforum_pi4.php','_pi4','list_type',1);
t3lib_extMgm::addPItoST43($_EXTKEY,"pi5/class.tx_mmforum_pi5.php","_pi5","list_type",1);
t3lib_extMgm::addPItoST43($_EXTKEY,"pi6/class.tx_mmforum_pi6.php","_pi6","list_type",0);
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:mm_forum/res/ts/tx_mmforum_pagetsconfig.ts">');
/**
* This is a hook to that triggers the tx_mmforum_cache class to
* delete all cache files used for the mm_forum. This hook is
* called after clearing the TYPO3 cache.
*/
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][] = 'EXT:mm_forum/includes/cache/class.tx_mmforum_cache.php:tx_mmforum_cache->clearAllCaches';
/**
* This config variable adds the 'nav_hide' field to the fields
* that are loaded into the current page's rootline. This allows hidden
* pages to be excluded from the dynamic rootline.
*/
if ($GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'])
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',nav_hide';
else $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] = 'nav_hide';
$TYPO3_CONF_VARS['FE']['eID_include']['tx_mmforum_UserSearch'] = 'EXT:mm_forum/pi3/ajax.tx_mmforum_usersearch.php';
?>