strip subdirectory
[TYPO3CMS/Extensions/mm_messaging.git] / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 Tx_Extbase_Utility_Extension::registerPlugin(
5 $_EXTKEY,
6 'Pi1',
7 'mm_forum Messenger'
8 );
9
10 t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'mm_forum Messenger');
11
12 //$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
13 //t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
14
15
16 t3lib_extMgm::addLLrefForTCAdescr('tx_mmmessaging_domain_model_message', 'EXT:mm_messaging/Resources/Private/Language/locallang_csh_tx_mmmessaging_domain_model_message.xml');
17 t3lib_extMgm::allowTableOnStandardPages('tx_mmmessaging_domain_model_message');
18 $TCA['tx_mmmessaging_domain_model_message'] = array (
19 'ctrl' => array (
20 'title' => 'LLL:EXT:mm_messaging/Resources/Private/Language/locallang_db.xml:tx_mmmessaging_domain_model_message',
21 'label' => 'recipient',
22 'tstamp' => 'tstamp',
23 'crdate' => 'crdate',
24 'versioningWS' => 2,
25 'versioning_followPages' => TRUE,
26 'origUid' => 't3_origuid',
27 'languageField' => 'sys_language_uid',
28 'transOrigPointerField' => 'l18n_parent',
29 'transOrigDiffSourceField' => 'l18n_diffsource',
30 'delete' => 'deleted',
31 'enablecolumns' => array(
32 'disabled' => 'hidden'
33 ),
34 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Message.php',
35 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mmmessaging_domain_model_message.gif'
36 )
37 );
38
39 t3lib_extMgm::addLLrefForTCAdescr('tx_mmmessaging_domain_model_attachment', 'EXT:mm_messaging/Resources/Private/Language/locallang_csh_tx_mmmessaging_domain_model_attachment.xml');
40 t3lib_extMgm::allowTableOnStandardPages('tx_mmmessaging_domain_model_attachment');
41 $TCA['tx_mmmessaging_domain_model_attachment'] = array (
42 'ctrl' => array (
43 'title' => 'LLL:EXT:mm_messaging/Resources/Private/Language/locallang_db.xml:tx_mmmessaging_domain_model_attachment',
44 'label' => 'name',
45 'tstamp' => 'tstamp',
46 'crdate' => 'crdate',
47 'versioningWS' => 2,
48 'versioning_followPages' => TRUE,
49 'origUid' => 't3_origuid',
50 'languageField' => 'sys_language_uid',
51 'transOrigPointerField' => 'l18n_parent',
52 'transOrigDiffSourceField' => 'l18n_diffsource',
53 'delete' => 'deleted',
54 'enablecolumns' => array(
55 'disabled' => 'hidden'
56 ),
57 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Attachment.php',
58 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mmmessaging_domain_model_attachment.gif'
59 )
60 );
61
62 ?>