本文整理汇总了PHP中t3lib_extMgm::addToInsertRecords方法的典型用法代码示例。如果您正苦于以下问题:PHP t3lib_extMgm::addToInsertRecords方法的具体用法?PHP t3lib_extMgm::addToInsertRecords怎么用?PHP t3lib_extMgm::addToInsertRecords使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类t3lib_extMgm
的用法示例。
在下文中一共展示了t3lib_extMgm::addToInsertRecords方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
$TCA["tx_vm19keynumbers_unities"] = array("ctrl" => array("title" => "LLL:EXT:vm19_key_numbers/locallang_db.php:tx_vm19keynumbers_unities", "label" => "unity", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19keynumbers_unities.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, unity, unity_code, comment"));
$TCA["tx_vm19keynumbers_numbers"] = array("ctrl" => array("title" => "LLL:EXT:vm19_key_numbers/locallang_db.php:tx_vm19keynumbers_numbers", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden", "starttime" => "starttime", "endtime" => "endtime", "fe_group" => "fe_group"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19keynumbers_numbers.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, starttime, endtime, fe_group, title, k_value, unity, comment, update_type, update_period, update_seq"));
## WOP:[pi][1][addType]
t3lib_div::loadTCA("tt_content");
## $TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY."_pi1"]="layout,select_key";
## ne pas enlever select_key permet d'avoir l'input pour choisir le type d'affichage...
$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY . "_pi1"] = "layout";
t3lib_extMgm::addToInsertRecords("tx_vm19keynumbers_numbers");
/*
Cet éssai transforme le champ select_key en liste déroulante ... mais tout le temps qqsot le plgin (gênant )
$TCA["tt_content"]["columns"]["select_key"]["config"]= Array (
"type" => "select",
## WOP:[tables][2][fields][8][conf_select_items]
"items" => Array (
Array("0", "Item1"),
Array("1", "Item2"),
Array("2", "Item3"),
),
); */
## WOP:[pi][1][addType]
t3lib_extMgm::addPlugin(array("LLL:EXT:vm19_key_numbers/locallang_db.php:tt_content.list_type", $_EXTKEY . "_pi1"), "list_type");
## WOP:[pi][1][plus_wiz]:
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_vm19keynumbers_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . "pi1/class.tx_vm19keynumbers_pi1_wizicon.php";
}
示例2: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_extMgm::allowTableOnStandardPages("tx_SBumfrage_list");
t3lib_extMgm::addToInsertRecords("tx_SBumfrage_list");
$TCA["tx_SBumfrage_list"] = array("ctrl" => array("title" => "LLL:EXT:SBumfrage/locallang_db.php:tx_SBumfrage_list", "label" => "name", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden", "starttime" => "starttime", "endtime" => "endtime"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_SBumfrage_list.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, starttime, endtime, name, title, question, answers, votes, pages, keyword, keyword2, keyword3"));
t3lib_div::loadTCA("tt_content");
$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY . "_pi1"] = "layout,select_key";
t3lib_extMgm::addPlugin(array("LLL:EXT:SBumfrage/locallang.php:pi1_title", $_EXTKEY . "_pi1"), "list_type");
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_SBumfrage_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . "pi1/class.tx_SBumfrage_pi1_wizicon.php";
}
示例3: str_replace
<label>LLL:EXT:ke_troubletickets/pi1/locallang.xml:tt_content.pi_ketroubletickets.drwikistorage</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<show_thumbs>0</show_thumbs>
</config>
</TCEforms>
</drwikistorage>
</el>
</ROOT>
</sheetAdditional>
';
$TCA['tt_content']['columns']['pi_flexform']['config']['ds'][$_EXTKEY . '_pi1' . ',list'] = str_replace('</sheets>', $additionalFlexformFields . "\n" . '</sheets>', $flexformConfig);
}
$TCA["tx_ketroubletickets_tickets"] = array("ctrl" => array('title' => 'LLL:EXT:ke_troubletickets/locallang_db.xml:tx_ketroubletickets_tickets', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_ketroubletickets_tickets.gif'), "feInterface" => array("fe_admin_fieldList" => "sys_language_uid, l18n_parent, l18n_diffsource, hidden, starttime, endtime, fe_group, title, description, until_date, owner_feuser, responsible_feuser, observers_feuser, category, status, priority, notifications_owner, notifications_responsible, notifications_observer, files, time_used, connected_addresses, connected_feusers, connected_custom"));
t3lib_extMgm::addToInsertRecords('tx_ketroubletickets_comments');
$TCA["tx_ketroubletickets_comments"] = array("ctrl" => array('title' => 'LLL:EXT:ke_troubletickets/locallang_db.xml:tx_ketroubletickets_comments', 'label' => 'content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_ketroubletickets_comments.gif'), "feInterface" => array("fe_admin_fieldList" => "sys_language_uid, l18n_parent, l18n_diffsource, hidden, starttime, endtime, fe_group, ticket_uid, feuser_uid, content"));
t3lib_extMgm::addToInsertRecords('tx_ketroubletickets_categories');
$TCA["tx_ketroubletickets_categories"] = array("ctrl" => array('title' => 'LLL:EXT:ke_troubletickets/locallang_db.xml:tx_ketroubletickets_categories', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_ketroubletickets_categories.gif'), "feInterface" => array("fe_admin_fieldList" => "sys_language_uid, l18n_parent, l18n_diffsource, hidden, starttime, endtime, fe_group, title"));
$TCA["tx_ketroubletickets_history"] = array("ctrl" => array('title' => 'LLL:EXT:ke_troubletickets/locallang_db.xml:tx_ketroubletickets_history', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => "ORDER BY crdate", 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_ketroubletickets_history.gif'), "feInterface" => array("fe_admin_fieldList" => "ticket_uid, feuser_uid, databasefield, feuser_username, value_old, value_new"));
$TCA["tx_ketroubletickets_todo"] = array("ctrl" => array('title' => 'LLL:EXT:ke_troubletickets/locallang_db.xml:tx_ketroubletickets_todo', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_ketroubletickets_todo.gif'), "feInterface" => array("fe_admin_fieldList" => "ticket_uid, title, done"));
// allow the data to be stored on normal pages
t3lib_extMgm::allowTableOnStandardPages('tx_ketroubletickets_tickets');
t3lib_extMgm::allowTableOnStandardPages('tx_ketroubletickets_categories');
t3lib_extMgm::allowTableOnStandardPages('tx_ketroubletickets_comments');
t3lib_extMgm::allowTableOnStandardPages('tx_ketroubletickets_history');
t3lib_extMgm::allowTableOnStandardPages('tx_ketroubletickets_todo');
示例4: array
$GLOBALS['TCA']['fe_users']['columns']['name']['config']['max'] = '100';
$GLOBALS['TCA']['fe_users']['columns']['company']['config']['max'] = '50';
$GLOBALS['TCA']['fe_users']['columns']['city']['config']['max'] = '40';
$GLOBALS['TCA']['fe_users']['columns']['country']['config']['max'] = '60';
$GLOBALS['TCA']['fe_users']['columns']['zip']['config']['size'] = '15';
$GLOBALS['TCA']['fe_users']['columns']['zip']['config']['max'] = '20';
$GLOBALS['TCA']['fe_users']['columns']['email']['config']['max'] = '255';
$GLOBALS['TCA']['fe_users']['columns']['telephone']['config']['max'] = '25';
$GLOBALS['TCA']['fe_users']['columns']['fax']['config']['max'] = '25';
$GLOBALS['TCA']['fe_users']['columns']['image']['config']['uploadfolder'] = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][SR_FEUSER_REGISTER_EXT]['uploadfolder'];
$GLOBALS['TCA']['fe_users']['columns']['image']['config']['max_size'] = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][SR_FEUSER_REGISTER_EXT]['imageMaxSize'];
$GLOBALS['TCA']['fe_users']['columns']['image']['config']['allowed'] = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][SR_FEUSER_REGISTER_EXT]['imageTypes'];
$addColumnArray = array('cnum' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.cnum', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')), 'static_info_country' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.static_info_country', 'config' => array('type' => 'input', 'size' => '5', 'max' => '3', 'eval' => '', 'default' => '')), 'zone' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.zone', 'config' => array('type' => 'input', 'size' => '20', 'max' => '40', 'eval' => 'trim', 'default' => '')), 'language' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.language', 'config' => array('type' => 'input', 'size' => '4', 'max' => '2', 'eval' => '', 'default' => '')), 'date_of_birth' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.date_of_birth', 'config' => array('type' => 'input', 'size' => '10', 'max' => '20', 'eval' => 'date', 'checkbox' => '0', 'default' => '')), 'gender' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.gender', 'config' => array('type' => 'radio', 'items' => array(array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.gender.I.99', '99'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.gender.I.0', '0'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.gender.I.1', '1')))), 'status' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status.I.0', '0'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status.I.1', '1'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status.I.2', '2'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status.I.3', '3'), array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.status.I.4', '4')), 'size' => 1, 'maxitems' => 1)), 'comments' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.comments', 'config' => array('type' => 'text', 'rows' => '5', 'cols' => '48')), 'by_invitation' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.by_invitation', 'config' => array('type' => 'check', 'default' => '0')), 'terms_acknowledged' => array('exclude' => 0, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.terms_acknowledged', 'config' => array('type' => 'check', 'default' => '0', 'readOnly' => '1')), 'token' => array('exclude' => 1, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.token', 'config' => array('type' => 'text', 'rows' => '1', 'cols' => '32')), 'tx_srfeuserregister_password' => array('exclude' => 1, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.tx_srfeuserregister_password', 'config' => array('type' => 'passthrough')), 'house_no' => array('exclude' => 1, 'label' => 'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.house_no', 'config' => array('type' => 'input', 'eval' => 'trim', 'size' => '20', 'max' => '20')));
t3lib_extMgm::addTCAcolumns('fe_users', $addColumnArray);
$GLOBALS['TCA']['fe_users']['interface']['showRecordFieldList'] = preg_replace('/(^|,)\\s*country\\s*(,|$)/', '$1zone,static_info_country,country,language$2', $GLOBALS['TCA']['fe_users']['interface']['showRecordFieldList']);
$GLOBALS['TCA']['fe_users']['interface']['showRecordFieldList'] = preg_replace('/(^|,)\\s*title\\s*(,|$)/', '$1gender,status,date_of_birth,house_no,title$2', $GLOBALS['TCA']['fe_users']['interface']['showRecordFieldList']);
$GLOBALS['TCA']['fe_users']['types']['0']['showitem'] = preg_replace('/(^|,)\\s*country\\s*(,|$)/', '$1 zone, static_info_country, country, language$2', $GLOBALS['TCA']['fe_users']['types']['0']['showitem']);
$GLOBALS['TCA']['fe_users']['types']['0']['showitem'] = preg_replace('/(^|,)\\s*address\\s*(,|$)/', '$1 cnum, status, date_of_birth, house_no, address$2', $GLOBALS['TCA']['fe_users']['types']['0']['showitem']);
$GLOBALS['TCA']['fe_users']['types']['0']['showitem'] = preg_replace('/(^|,)\\s*www\\s*(,|$)/', '$1 www, comments, by_invitation, terms_acknowledged$2', $GLOBALS['TCA']['fe_users']['types']['0']['showitem']);
$GLOBALS['TCA']['fe_users']['palettes']['2']['showitem'] = 'gender,--linebreak--,' . $GLOBALS['TCA']['fe_users']['palettes']['2']['showitem'];
$GLOBALS['TCA']['fe_users']['ctrl']['thumbnail'] = 'image';
// fe_users modified
if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][SR_FEUSER_REGISTER_EXT]['enableDirectMail'] && !t3lib_extMgm::isLoaded('direct_mail')) {
$tempCols = array('module_sys_dmail_newsletter' => array('label' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:fe_users.module_sys_dmail_newsletter', 'exclude' => '1', 'config' => array('type' => 'check')), 'module_sys_dmail_category' => array('label' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:fe_users.module_sys_dmail_category', 'exclude' => '1', 'config' => array('type' => 'select', 'foreign_table' => 'sys_dmail_category', 'foreign_table_where' => 'AND sys_dmail_category.l18n_parent=0 AND sys_dmail_category.pid IN (###PAGE_TSCONFIG_IDLIST###) ORDER BY sys_dmail_category.uid', 'itemsProcFunc' => 'tx_srfeuserregister_select_dmcategories->get_localized_categories', 'itemsProcFunc_config' => array('table' => 'sys_dmail_category', 'indexField' => 'uid'), 'size' => 5, 'minitems' => 0, 'maxitems' => 60, 'renderMode' => 'checkbox', 'MM' => 'sys_dmail_feuser_category_mm')), 'module_sys_dmail_html' => array('label' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:fe_users.module_sys_dmail_html', 'exclude' => '1', 'config' => array('type' => 'check')));
t3lib_extMgm::addTCAcolumns('fe_users', $tempCols);
t3lib_extMgm::addToAllTCATypes('fe_users', '--div--;Direct mail,module_sys_dmail_newsletter;;;;1-1-1,module_sys_dmail_category,module_sys_dmail_html');
}
$GLOBALS['TCA']['fe_groups_language_overlay'] = array('ctrl' => array('title' => 'LLL:EXT:' . SR_FEUSER_REGISTER_EXT . '/locallang_db.xml:fe_groups_language_overlay', 'label' => 'title', 'default_sortby' => 'ORDER BY fe_groups_uid', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath(SR_FEUSER_REGISTER_EXT) . 'tca.php', 'iconfile' => 'gfx/i/fe_groups.gif'));
t3lib_extMgm::allowTableOnStandardPages('fe_groups_language_overlay');
t3lib_extMgm::addToInsertRecords('fe_groups_language_overlay');
unset($typo3Version);
示例5: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$tempColumns = array("tx_3pxosmap_lat" => array("exclude" => 1, "label" => "LLL:EXT:3px_osmap/locallang_db.xml:tt_address.tx_3pxosmap_lat", "config" => array("type" => "input", "size" => "30", "eval" => "trim")), "tx_3pxosmap_lon" => array("exclude" => 1, "label" => "LLL:EXT:3px_osmap/locallang_db.xml:tt_address.tx_3pxosmap_lon", "config" => array("type" => "input", "size" => "30", "eval" => "trim")));
t3lib_div::loadTCA("tt_address");
t3lib_extMgm::addTCAcolumns("tt_address", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("tt_address", "tx_3pxosmap_lat;;;;1-1-1, tx_3pxosmap_lon");
t3lib_extMgm::allowTableOnStandardPages('tx_3pxosmap_maps');
t3lib_extMgm::addToInsertRecords('tx_3pxosmap_maps');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:3px_osmap/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/osmap/', 'osmap');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform_ds_pi1.xml');
示例6: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
include_once t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_eonieuwsbrief_addFieldsToFlexForm.php';
t3lib_extMgm::allowTableOnStandardPages('tx_eonieuwsbrief_nieuwsbrief');
t3lib_extMgm::addToInsertRecords('tx_eonieuwsbrief_nieuwsbrief');
$TCA["tx_eonieuwsbrief_nieuwsbrief"] = array("ctrl" => array('title' => 'LLL:EXT:eo_nieuwsbrief/locallang_db.xml:tx_eonieuwsbrief_nieuwsbrief', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => "ORDER BY crdate", 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), "feInterface" => array("fe_admin_fieldList" => "sys_language_uid, l18n_parent, l18n_diffsource, hidden, starttime, endtime, fe_group, name, midrid"));
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform_ds.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:eo_nieuwsbrief/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "EO Nieuwsbrief");
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_eonieuwsbrief_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_eonieuwsbrief_pi1_wizicon.php';
}
示例7: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_div::loadTCA('tt_content');
$TCA["tx_veguestbook_entries"] = array("ctrl" => array("title" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries", "label" => "entry", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "default_sortby" => "ORDER BY crdate DESC", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "ext_icon.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, sys_language_uid, firstname, surname, email, homepage, place, entry, entrycomment, remote_addr"));
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ve_guestbook_pi1'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ve_guestbook_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:ve_guestbook/locallang_tca.php:ve_guestbook', 've_guestbook_pi1'));
t3lib_extMgm::addPiFlexFormValue('ve_guestbook_pi1', 'FILE:EXT:ve_guestbook/flexform_ds.xml');
t3lib_extMgm::allowTableOnStandardPages("tx_veguestbook_entries");
t3lib_extMgm::addToInsertRecords('tx_veguestbook_entries');
if (TYPO3_MODE == 'BE') {
// Adds wizard icon to the content element wizard.
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_veguestbook_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_veguestbook_pi1_wizicon.php';
}
示例8: array
t3lib_extMgm::addModulePath('web_txseminarsM2', t3lib_extMgm::extPath($_EXTKEY) . 'BackEnd/');
t3lib_extMgm::addModule('web', 'txseminarsM2', '', $extPath . 'BackEnd/');
}
if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) < 6001000) {
t3lib_div::loadTCA('tt_content');
}
$GLOBALS['TCA']['tx_seminars_test'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_test', 'readOnly' => 1, 'adminOnly' => 1, 'rootLevel' => 1, 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY uid', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Test.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_seminars'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_seminars', 'label' => 'title', 'type' => 'object_type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY begin_date DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'iconfile' => $extIconRelPath . 'EventComplete.gif', 'typeicon_column' => 'object_type', 'typeicons' => array('0' => $extIconRelPath . 'EventComplete.gif', '1' => $extIconRelPath . 'EventTopic.gif', '2' => $extIconRelPath . 'EventDate.gif'), 'dynamicConfigFile' => $tcaPath, 'dividers2tabs' => TRUE, 'hideAtCopy' => TRUE, 'requestUpdate' => 'needs_registration', 'searchFields' => 'title,accreditation_number'));
$GLOBALS['TCA']['tx_seminars_speakers'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_speakers', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Speaker.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_attendances'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_attendances', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Registration.gif', 'dividers2tabs' => TRUE, 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_sites'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_sites', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Place.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_organizers'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_organizers', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Organizer.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_payment_methods'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_payment_methods', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'PaymentMethod.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_event_types'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_event_types', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'EventType.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_checkboxes'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_checkboxes', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Checkbox.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_lodgings'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_lodgings', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Lodging.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_foods'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_foods', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Food.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_timeslots'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_timeslots', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'hideTable' => TRUE, 'iconfile' => $extIconRelPath . 'TimeSlot.gif', 'dynamicConfigFile' => $tcaPath, 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_target_groups'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_target_groups', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'TargetGroup.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_categories'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_categories', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Category.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_skills'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_skills', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Skill.gif', 'searchFields' => 'title'));
t3lib_extMgm::addToInsertRecords('tx_seminars_seminars');
t3lib_extMgm::addToInsertRecords('tx_seminars_speakers');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:seminars/Configuration/FlexForms/flexforms_pi1.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Seminars');
t3lib_extMgm::addPlugin(array('LLL:EXT:seminars/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
if (TYPO3_MODE == 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_seminars_FrontEnd_WizardIcon'] = t3lib_extMgm::extPath($_EXTKEY) . 'FrontEnd/WizardIcon.php';
}
示例9: feeds
userFunc = tx_ttnews->main_news
# validate some configuration values and display a message if errors have been found
enableConfigValidation = 1
}
');
// initialize static extension templates
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi/static/ts_new/', 'News settings');
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi/static/css/', 'News CSS-styles');
//t3lib_extMgm::addStaticFile($_EXTKEY,'pi/static/ts_old/','table-based tmpl');
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi/static/rss_feed/', 'News feeds (RSS,RDF,ATOM)');
// allow news and news-category records on normal pages
t3lib_extMgm::allowTableOnStandardPages('tt_news_cat');
t3lib_extMgm::allowTableOnStandardPages('tt_news');
// add the tt_news record to the insert records content element
t3lib_extMgm::addToInsertRecords('tt_news');
// switch the XML files for the FlexForm depending on if "use StoragePid"(general record Storage Page) is set or not.
if ($confArr['useStoragePid']) {
t3lib_extMgm::addPiFlexFormValue(9, 'FILE:EXT:tt_news/flexform_ds.xml');
} else {
t3lib_extMgm::addPiFlexFormValue(9, 'FILE:EXT:tt_news/flexform_ds_no_sPID.xml');
}
t3lib_extMgm::addPageTSConfig('
# RTE mode in table "tt_news"
RTE.config.tt_news.bodytext.proc.overruleMode = ts_css
TCEFORM.tt_news.bodytext.RTEfullScreenWidth = 100%
mod.web_txttnewsM1 {
示例10: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
$TCA["tx_vm19docsbase_topics"] = array("ctrl" => array("title" => "LLL:EXT:vm19_docs_base/locallang_db.php:tx_vm19docsbase_topics", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden", "fe_group" => "fe_group"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19docsbase_topics.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, fe_group, title, comment"));
$TCA["tx_vm19docsbase_support"] = array("ctrl" => array("title" => "LLL:EXT:vm19_docs_base/locallang_db.php:tx_vm19docsbase_support", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19docsbase_support.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, comment"));
$TCA["tx_vm19docsbase_nature"] = array("ctrl" => array("title" => "LLL:EXT:vm19_docs_base/locallang_db.php:tx_vm19docsbase_nature", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19docsbase_nature.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, comment"));
$TCA["tx_vm19docsbase_lang"] = array("ctrl" => array("title" => "LLL:EXT:vm19_docs_base/locallang_db.php:tx_vm19docsbase_lang", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "default_sortby" => "ORDER BY title", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19docsbase_lang.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, langcode, title"));
$TCA["tx_vm19docsbase_docs"] = array("ctrl" => array("title" => "LLL:EXT:vm19_docs_base/locallang_db.php:tx_vm19docsbase_docs", "label" => "title", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "sortby" => "sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden", "starttime" => "starttime", "endtime" => "endtime", "fe_group" => "fe_group"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_vm19docsbase_docs.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, starttime, endtime, fe_group, internal_code, title, topics, int_author, ext_author, support, nature, lang, isbn, keywords, abstract, imagette, workflow_state, document"));
t3lib_div::loadTCA("tt_content");
//$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY."_pi1"]="layout,select_key";
$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY . "_pi1"] = "layout";
t3lib_extMgm::addToInsertRecords("tx_vm19docsbase_docs");
t3lib_extMgm::addPlugin(array("LLL:EXT:vm19_docs_base/locallang_db.php:tt_content.list_type", $_EXTKEY . "_pi1"), "list_type");
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_vm19docsbase_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . "pi1/class.tx_vm19docsbase_pi1_wizicon.php";
}
示例11: array
t3lib_div::loadTCA('fe_groups');
t3lib_extMgm::addTCAcolumns('fe_groups', $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'tx_odsosm_marker;;;;1-1-1');
t3lib_div::loadTCA('tt_address_group');
t3lib_extMgm::addTCAcolumns('tt_address_group', $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes('tt_address_group', 'tx_odsosm_marker;;;;1-1-1');
/* --------------------------------------------------
New tables
-------------------------------------------------- */
$TCA['tx_odsosm_geocache'] = array('ctrl' => array('title' => 'LLL:EXT:ods_osm/locallang_db.xml:tx_odsosm_geocache', 'label' => 'zip', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => '', 'default_sortby' => 'ORDER BY zip', 'delete' => 'deleted', 'rootLevel' => 1, 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsosm_geocache.png'));
$TCA['tx_odsosm_layer'] = array('ctrl' => array('title' => 'LLL:EXT:ods_osm/locallang_db.xml:tx_odsosm_layer', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'sortby' => 'sorting', 'delete' => 'deleted', 'rootLevel' => 1, 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsosm_layer.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_odsosm_marker');
$TCA['tx_odsosm_marker'] = array('ctrl' => array('title' => 'LLL:EXT:ods_osm/locallang_db.xml:tx_odsosm_marker', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsosm_marker.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_odsosm_track');
t3lib_extMgm::addToInsertRecords('tx_odsosm_track');
$TCA['tx_odsosm_track'] = array('ctrl' => array('title' => 'LLL:EXT:ods_osm/locallang_db.xml:tx_odsosm_track', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsosm_track.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_odsosm_vector');
t3lib_extMgm::addToInsertRecords('tx_odsosm_vector');
$TCA['tx_odsosm_vector'] = array('ctrl' => array('title' => 'LLL:EXT:ods_osm/locallang_db.xml:tx_odsosm_vector', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsosm_vector.png'));
/* --------------------------------------------------
Plugin
-------------------------------------------------- */
t3lib_div::loadTCA('tt_content');
t3lib_extMgm::addPlugin(array('LLL:EXT:ods_osm/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/pi1/flexform.xml');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive';
if (TYPO3_MODE == 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_odsosm_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_odsosm_pi1_wizicon.php';
t3lib_extMgm::insertModuleFunction('web_func', 'tx_odsosm_geocodeWizard', t3lib_extMgm::extPath($_EXTKEY) . 'func_wizards/class.tx_odsosm_geocodeWizard.php', 'LLL:EXT:ods_osm/locallang.xml:wiz_geocode', 'wiz');
}
示例12: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
// Global redirects
t3lib_extMgm::addToInsertRecords('tx_odsredirects_redirects');
$TCA['tx_odsredirects_redirects'] = array('ctrl' => array('title' => 'LLL:EXT:ods_redirects/locallang_db.xml:tx_odsredirects_redirects', 'label' => 'url', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY url', 'rootLevel' => -1, 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_odsredirects_redirects.png'));
// Plugin redirects
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'header,header_position,header_link,header_layout,date,spaceBefore,spaceAfter,section_frame,layout,select_key,recursive';
t3lib_extMgm::addPlugin(array('LLL:EXT:ods_redirects/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
示例13: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
if (TYPO3_MODE == "BE") {
t3lib_extMgm::addModule("web", "txdrwikiM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/");
}
t3lib_extMgm::allowTableOnStandardPages("tx_drwiki_pages");
t3lib_extMgm::addToInsertRecords("tx_drwiki_pages");
$ICON_TYPES["drwiki"] = array("icon" => t3lib_extMgm::extRelPath($_EXTKEY) . "module_drwiki.gif");
$TCA["pages"]["columns"]["module"]["config"]["items"][] = array("DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki|DR Wiki", "drwiki");
$TCA["tx_drwiki_pages"] = array("ctrl" => array("title" => "LLL:EXT:dr_wiki/locallang_db.php:tx_drwiki_pages", "label" => "keyword", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "default_sortby" => "ORDER BY uid", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_drwiki_pages.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, keyword, body, date, author, summary, locked"));
$TCA["tx_drwiki_cache"] = array("ctrl" => array("title" => "LLL:EXT:dr_wiki/locallang_db.php:tx_drwiki_cache", "label" => "uid", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "default_sortby" => "ORDER BY crdate", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_drwiki_cache.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, keyword, html_cache, cache_uid"));
t3lib_div::loadTCA("tt_content");
$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY . "_pi1"] = "layout,select_key,pages";
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array("LLL:EXT:dr_wiki/flexforms/locallang_db.php:tt_content.list_type_pi1", $_EXTKEY . "_pi1"), "list_type");
t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "DR Wiki");
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:dr_wiki/flexforms/flexform_ds_pi1.xml');
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_drwiki_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . "pi1/class.tx_drwiki_pi1_wizicon.php";
}