当前位置: 首页>>代码示例>>PHP>>正文


PHP t3lib_extMgm::allowTableOnStandardPages方法代码示例

本文整理汇总了PHP中t3lib_extMgm::allowTableOnStandardPages方法的典型用法代码示例。如果您正苦于以下问题:PHP t3lib_extMgm::allowTableOnStandardPages方法的具体用法?PHP t3lib_extMgm::allowTableOnStandardPages怎么用?PHP t3lib_extMgm::allowTableOnStandardPages使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在t3lib_extMgm的用法示例。


在下文中一共展示了t3lib_extMgm::allowTableOnStandardPages方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Test', 'test');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Test');
t3lib_extMgm::addLLrefForTCAdescr('tx_test_domain_model_test', 'EXT:test/Resources/Private/Language/locallang_csh_tx_test_domain_model_test.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_test_domain_model_test');
$TCA['tx_test_domain_model_test'] = array('ctrl' => array('title' => 'LLL:EXT:test/Resources/Private/Language/locallang_db.xml:tx_test_domain_model_test', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,videos,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Test.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_test_domain_model_test.gif'));
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:10,代码来源:ext_tables.php

示例2: array

    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive';
    t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
}
if (TYPO3_MODE === 'BE') {
    /**
     * Registers a Backend Module
     */
    Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_blogexample_m1', '', array('Blog' => 'index,new,create,delete,deleteAll,edit,update,populate', 'Post' => 'index,show,new,create,delete,edit,update', 'Comment' => 'create,delete,deleteAll'), array('access' => 'user,group', 'icon' => 'EXT:blog_example/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml'));
}
/**
 * Add labels for context sensitive help (CSH)
 */
t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_BlogExampleTxBlogexampleM1', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'BlogExample setup');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/DefaultStyles', 'BlogExample CSS Styles (optional)');
t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_blog');
$TCA['tx_blogexample_domain_model_blog'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Blog.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_blog.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_post');
$TCA['tx_blogexample_domain_model_post'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_post', 'label' => 'title', 'label_alt' => 'author', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Post.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_post.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_comment');
$TCA['tx_blogexample_domain_model_comment'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment', 'label' => 'date', 'label_alt' => 'author', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Comment.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_comment.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_person');
$TCA['tx_blogexample_domain_model_person'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person', 'label' => 'lastname', 'label_alt' => 'firstname', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Person.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_person.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_tag');
$TCA['tx_blogexample_domain_model_tag'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_tag', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Tag.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_tag.gif'));
t3lib_div::loadTCA('fe_users');
if (is_array($TCA['fe_users']['columns']['tx_extbase_type'])) {
    $TCA['fe_users']['types']['Tx_BlogExample_Domain_Model_Administrator'] = $TCA['fe_users']['types']['0'];
    array_push($TCA['fe_users']['columns']['tx_extbase_type']['config']['items'], array('LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:fe_users.tx_extbase_type.Tx_BlogExample_Domain_Model_Administrator', 'Tx_BlogExample_Domain_Model_Administrator'));
}
开发者ID:beyondkeysystem,项目名称:typo3-doctrine2-blog-example,代码行数:31,代码来源:ext_tables.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA["tx_dlcubehnshop_articles"] = array("ctrl" => array('title' => 'LLL:EXT:dlcube_hn_shop/locallang_db.xml:tx_dlcubehnshop_articles', '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_dlcubehnshop_articles.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, starttime, endtime, fe_group, ref, ref2, title, auteur, editor, support, designation, descdetail, parut, price, tva,cotypresta,cosstypresta isbn, weight, nbpages, archive, technicaldegree, img1, img2, file"));
$TCA["tx_dlcubehnshop_editors"] = array("ctrl" => array('title' => 'LLL:EXT:dlcube_hn_shop/locallang_db.xml:tx_dlcubehnshop_editors', 'label' => 'name', '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_dlcubehnshop_editors.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, name, infos"));
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::addPlugin(Array("LLL:EXT:dlcube_hn_shop/locallang_db.php:tt_content.list_type", $_EXTKEY."_pi1"),"list_type");
t3lib_extMgm::addPlugin(array("Rayon de boutique HN", $_EXTKEY . "_pi1"), "list_type");
t3lib_extMgm::allowTableOnStandardPages("tx_dlcubehnshop_articles");
t3lib_extMgm::addToInsertRecords("tx_dlcubehnshop_articles");
开发者ID:BackupTheBerlios,项目名称:stypo3dext,代码行数:14,代码来源:ext_tables.php

示例4: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Petition', 'Petitions Form');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_petition';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_default.xml');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'List', 'Petitions List');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_list';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Petition');
t3lib_extMgm::addLLrefForTCAdescr('tx_petition_domain_model_petitionsentry', 'EXT:petition/Resources/Private/Language/locallang_csh_tx_petition_domain_model_petitionsentry.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_petition_domain_model_petitionsentry');
$TCA['tx_petition_domain_model_petitionsentry'] = array('ctrl' => array('title' => 'LLL:EXT:petition/Resources/Private/Language/locallang_db.xml:tx_petition_domain_model_petitionsentry', 'label' => 'firstname', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'firstname,lastname,emailadress,country,town,zip,street,petition,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/PetitionsEntry.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_petition_domain_model_petitionsentry.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_petition_domain_model_petition', 'EXT:petition/Resources/Private/Language/locallang_csh_tx_petition_domain_model_petition.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_petition_domain_model_petition');
$TCA['tx_petition_domain_model_petition'] = array('ctrl' => array('title' => 'LLL:EXT:petition/Resources/Private/Language/locallang_db.xml:tx_petition_domain_model_petition', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'petitionsentries' => 'petitionsentries', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Petition.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_petition_domain_model_petition.gif'));
开发者ID:cranus,项目名称:petition,代码行数:20,代码来源:ext_tables.php

示例5: array

 ********************************************************************************** **/
if (TYPO3_MODE === 'BE') {
    /**
     * Registers a Backend Module
     */
    Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_kiddognews_m1', '', array('Backend' => 'index,overview'), array('access' => 'admin', 'icon' => 'EXT:kiddog_news/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml'));
}
/** ********************************************************************************** 
 * Frontend-Plugin
 ********************************************************************************** **/
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'News-System');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'News-System');
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_post');
$TCA['tx_kiddognews_domain_model_post'] = array('ctrl' => array('title' => 'Post', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_post.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_comment');
$TCA['tx_kiddognews_domain_model_comment'] = array('ctrl' => array('title' => 'Comment', 'label' => 'date', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_comment.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_category');
$TCA['tx_kiddognews_domain_model_category'] = array('ctrl' => array('title' => 'Category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_category.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_tag');
$TCA['tx_kiddognews_domain_model_tag'] = array('ctrl' => array('title' => 'Tag', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_tag.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_file');
$TCA['tx_kiddognews_domain_model_file'] = array('ctrl' => array('title' => 'File', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_file.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_image');
$TCA['tx_kiddognews_domain_model_image'] = array('ctrl' => array('title' => 'Image', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_image.png'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_link');
$TCA['tx_kiddognews_domain_model_link'] = array('ctrl' => array('title' => 'Link', 'label' => 'link', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_link.png'));
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
开发者ID:preinboth,项目名称:kiddog_news,代码行数:31,代码来源:ext_tables.php

示例6: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_question');
$TCA['tx_myquizpoll_question'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_question', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', '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_myquizpoll_question.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_voting');
$TCA['tx_myquizpoll_voting'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_voting', 'label' => 'answer_no', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_voting.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_result');
$TCA['tx_myquizpoll_result'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_result', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_result.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_relation');
$TCA['tx_myquizpoll_relation'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_relation', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_relation.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_category');
$TCA['tx_myquizpoll_category'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY name', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_category.gif'));
$version = class_exists('t3lib_utility_VersionNumber') ? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) : t3lib_div::int_from_ver(TYPO3_version);
if ($version < 4008000) {
    t3lib_div::loadTCA('tt_content');
}
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:myquizpoll/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_myquizpoll_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_myquizpoll_pi1_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi1/static/', 'My quiz and poll: default styles');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/defaultsettings/', 'My quiz and poll: default settings');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/starrating/', 'My quiz and poll: star rating (question type)');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/uistars/', 'My quiz and poll: star rating (rating)');
$TCA['pages']['columns']['module']['config']['items'][] = array('My Quiz and Poll', 'myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
开发者ID:woehrlag,项目名称:Intranet,代码行数:31,代码来源:ext_tables.php

示例7: 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');
}
开发者ID:fabianlipp,项目名称:ods_osm,代码行数:31,代码来源:ext_tables.php

示例8: array

t3lib_extMgm::addLLrefForTCAdescr('tx_news_domain_model_link', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh_link.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_news_domain_model_tag', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh_tag.xml');
t3lib_extMgm::addLLrefForTCAdescr('tt_content.pi_flexform.news_pi1.list', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh_flexforms.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_news');
$TCA['tx_news_domain_model_news'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_news', 'label' => 'title', 'prependAtCopy' => $configuration->getPrependAtCopy() ? 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy' : '', 'hideAtCopy' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'editlock' => 'editlock', 'type' => 'type', 'typeicon_column' => 'type', 'typeicons' => array('1' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news_internal.gif', '2' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news_external.gif'), 'dividers2tabs' => TRUE, 'useColumnsForDefaultValues' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY datetime DESC', 'sortby' => $configuration->getManualSorting() ? 'sorting' : '', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/news.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news.gif', 'searchFields' => 'uid,title', 'requestUpdate' => 'rte_disabled'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_category');
$TCA['tx_news_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_category', 'label' => 'title', 'label_alt' => 'parentcategory,sys_language_uid', 'label_alt_force' => 1, 'label_userFunc' => 'Tx_News_Hooks_Labels->getUserLabelCategory', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_category.gif', 'treeParentField' => 'parentcategory', 'searchFields' => 'uid,title'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_media');
$TCA['tx_news_domain_model_media'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_media', 'label' => 'caption', 'label_alt' => 'type, showinpreview', 'label_alt_force' => 1, 'label_userFunc' => 'Tx_News_Hooks_Labels->getUserLabelMedia', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/media.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_media.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_media');
$TCA['tx_news_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_file', 'label' => 'title', 'label_alt' => 'file', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/file.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_file.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_file');
$TCA['tx_news_domain_model_link'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_link', 'label' => 'title', 'label_alt' => 'uri', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/link.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_link.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_link');
$TCA['tx_news_domain_model_tag'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_tag', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/tag.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_tag.png', 'searchFields' => 'uid,title'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_tag');
/***************
 * Plugin
 */
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xml:pi1_title');
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_news.xml');
/***************
 * Default TypoScript
 */
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'News');
/***************
 * Wizard pi1
开发者ID:rafu1987,项目名称:t3bootstrap-project,代码行数:31,代码来源:ext_tables.php

示例9: die

*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
/**
 * Register uploads plugin
 */
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Upload', 'File-Uploading for frontend users');
$pluginSignature = strtolower($extensionName) . '_upload';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Download', 'Downloading of uploaded files from frontend users');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Folder', 'Folder structure for frontend users');
$pluginSignature = strtolower($extensionName) . '_download';
$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForm/download.xml');
t3lib_div::loadTCA('fe_users');
t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_file');
t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_folder');
$TCA['tx_feupload_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_file', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/File.php', 'dividers2tabs' => true, 'searchFields' => 'title,file', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/default.png'));
$TCA['tx_feupload_domain_model_folder'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_folder', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Folder.php', 'dividers2tabs' => true, 'searchFields' => 'title', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/folder.png'));
t3lib_div::loadTCA('fe_groups');
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_storage_pid;;;;1-1-1');
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_append_group_ids;;;;1-1-1');
$TCA['fe_groups']['columns'] += array('feupload_storage_pid' => array('exclude' => 1, 'label' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:fe_groups.storage_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => 1, 'minitems' => 0, 'maxitems' => 1, 'wizards' => array('suggest' => array('type' => 'suggest')))));
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/default/', 'FE Upload default settings');
开发者ID:ralfbs,项目名称:feupload,代码行数:31,代码来源:ext_tables.php

示例10: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Gallery', 'Gallery');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Gallery');
t3lib_extMgm::addLLrefForTCAdescr('tx_nbogallery_domain_model_gallery', 'EXT:nbogallery/Resources/Private/Language/locallang_csh_tx_nbogallery_domain_model_gallery.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nbogallery_domain_model_gallery');
$TCA['tx_nbogallery_domain_model_gallery'] = array('ctrl' => array('title' => 'LLL:EXT:nbogallery/Resources/Private/Language/locallang_db.xml:tx_nbogallery_domain_model_gallery', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Gallery.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nbogallery_domain_model_gallery.gif'));
if (TYPO3_MODE == 'BE') {
    // Add Wizard Icon
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['Tx_Nbogallery_Utilities_PluginWizard'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Utility/Backend/PluginWizard.php';
    // Add tables on Pages:
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_nbogallery_domain_model_gallery'][0]['fList'] = 'title,folder';
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_nbogallery_domain_model_gallery'][0]['icon'] = TRUE;
}
开发者ID:noelboss,项目名称:nbogallery,代码行数:17,代码来源:ext_tables.php

示例11: die

	with an extension that is features reach without overloading the code basis.
	
	Formhandler solves the problem by having a very modular approach. The extension is piloted 
	mainly by some nice TypoScript where is is possible to define exactly what to implement. You may
	want to play with some interceptor, finisher, logger, validators etc... For more information,
	you should have a look into the folder "Examples" of the extension which refers many interesting samples.
		
	Latest development version on
	http://forge.typo3.org/repositories/show/extension-formhandler
*/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    # dynamic flexform
    include_once t3lib_extMgm::extPath($_EXTKEY) . '/Resources/PHP/class.tx_dynaflex.php';
    t3lib_div::loadTCA('tt_content');
    $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
    // Add flexform field to plugin options
    $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
    $file = 'FILE:EXT:' . $_EXTKEY . '/Resources/XML/flexform_ds.xml';
    // Add flexform DataStructure
    t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', $file);
    t3lib_extMgm::addModule('web', 'txformhandlermoduleM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Controller/Module/');
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_formhandler_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'Resources/PHP/class.tx_formhandler_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/Settings/', 'Example Configuration');
t3lib_extMgm::addPlugin(array('Formhandler', $_EXTKEY . '_pi1'), 'list_type');
$TCA['tx_formhandler_log'] = array('ctrl' => array('title' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log', 'label' => 'uid', 'default_sortby' => 'ORDER BY crdate DESC', 'crdate' => 'crdate', 'tstamp' => 'tstamp', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'readOnly' => 1));
t3lib_extMgm::allowTableOnStandardPages('tx_formhandler_log');
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:30,代码来源:ext_tables.php

示例12: 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);
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:31,代码来源:ext_tables.php

示例13: array

$TCA['sys_file'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'hideTable' => TRUE, 'rootLevel' => TRUE, 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'default_sortby' => 'ORDER BY crdate DESC', 'delete' => 'deleted', 'dividers2tabs' => TRUE, 'typeicon_column' => 'type', 'typeicon_classes' => array('1' => 'mimetypes-text-text', '2' => 'mimetypes-media-image', '3' => 'mimetypes-media-audio', '4' => 'mimetypes-media-video', '5' => 'mimetypes-application', 'default' => 'mimetypes-other-other'), 'dynamicConfigFile' => 'T3LIB:tca_sys_file.php'));
/**
 * Table "sys_file_reference":
 * Is a single usage of a sys_file record somewhere in the installation
 * Is kind of like a MM-table between sys_file and e.g. tt_content:image that
 * is shown up in TCA so additional metadata can be added for this specific
 * kind of usage
 */
$TCA['sys_file_reference'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'uid_local:type', 'hideTable' => TRUE, 'rootLevel' => TRUE, 'sortby' => 'sorting', 'delete' => 'deleted', 'versioningWS' => TRUE, 'shadowColumnsForNewPlaceholders' => 'tablenames,fieldname,uid_local,uid_foreign', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => 'T3LIB:tca_sys_file_reference.php'));
\TYPO3\CMS\Core\Extension\ExtensionManager::allowTableOnStandardPages('sys_file_reference');
/**
 * Table "sys_file_collection":
 * Represents a list of sys_file records
 */
$TCA['sys_file_collection'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'rootlevel' => -1, 'type' => 'type', 'typeicon_column' => 'type', 'typeicon_classes' => array('default' => 'apps-filetree-folder-media', 'static' => 'apps-clipboard-images', 'folder' => 'apps-filetree-folder-media'), 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => 'T3LIB:tca_sys_file_collection.php'));
t3lib_extMgm::allowTableOnStandardPages('sys_file_collection');
/**
 * Table "sys_history":
 * Holds history records, the config part is defined in t3lib/stddb/tbl_be.php
 */
$TCA['sys_history'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_history', 'label' => 'tablename', 'tstamp' => 'tstamp', 'adminOnly' => TRUE, 'rootLevel' => TRUE, 'hideTable' => TRUE, 'default_sortby' => 'uid DESC', 'dynamicConfigFile' => 'T3LIB:tbl_be.php'));
/**
 * Table "sys_languages":
 * Defines possible languages used for translation of records in the system
 * This is only the 'header' part (ctrl). The full configuration is found
 * in t3lib/stddb/tbl_be.php
 */
$TCA['sys_language'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'default_sortby' => 'ORDER BY title', 'title' => 'LLL:EXT:lang/locallang_tca.php:sys_language', 'adminOnly' => 1, 'rootLevel' => 1, 'enablecolumns' => array('disabled' => 'hidden'), 'typeicon_classes' => array('default' => 'mimetypes-x-sys_language'), 'dynamicConfigFile' => 'T3LIB:tbl_be.php', 'versioningWS_alwaysAllowLiveEdit' => TRUE));
/**
 * Table "sys_log":
 * Holds log records, the config part is defined in t3lib/stddb/tbl_be.php
开发者ID:noxludo,项目名称:TYPO3v4-Core,代码行数:31,代码来源:tables.php

示例14: die

<?php

if (!defined("TYPO3_MODE")) {
    die("Access denied.");
}
t3lib_extMgm::allowTableOnStandardPages("tx_beacl_acl");
$TCA["tx_beacl_acl"] = array("ctrl" => array("title" => "LLL:EXT:be_acl/locallang_db.xml:tx_beacl_acl", "label" => "uid", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "type" => "type", "default_sortby" => "ORDER BY type", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_beacl_acl.gif"), "feInterface" => array("fe_admin_fieldList" => "type, object_id, permissions, recursive"));
开发者ID:ToddHossack,项目名称:be_acl,代码行数:7,代码来源:ext_tables.php

示例15: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'betatext');
$TCA['tx_webetatext_text'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_text', 'label' => 'TextID', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_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_webetatext_text.gif'));
$TCA['tx_webetatext_comment'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_comment', 'label' => 'Content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_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_webetatext_comment.gif'));
$TCA['tx_webetatext_vote'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_vote', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_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_webetatext_voting.gif'));
$TCA['tx_webetatext_process'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_process', 'label' => 'StepIndex', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY sort', 'sortby' => 'sort', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_process.gif'));
t3lib_extMgm::allowTableOnStandardPages("tx_webetatext_process");
$addColumns = array('tx_webetatext_logo' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_logo', 'config' => array('type' => 'group', 'internal_type' => 'file', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'max_size' => 1000, 'uploadfolder' => 'uploads/tx_webetatext', 'show_thumbs' => 1, 'size' => 1, 'minitems' => 0, 'maxitems' => 1)), 'tx_webetatext_verified' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verified', 'config' => array('type' => 'check', 'default' => '1')), 'tx_webetatext_verification_requested' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verification_requested', 'config' => array('type' => 'check', 'default' => '0')));
t3lib_extMgm::addTCAcolumns('fe_users', $addColumns, true);
t3lib_extMgm::addToAllTCATypes('fe_users', '--div--;betatext,tx_webetatext_logo,tx_webetatext_verification_requested,tx_webetatext_verified;;;;1-1-1');
/* Seiteneinstellungen */
$TCA['pages']['columns']['doktype']['config']['items'][] = array('betatext: kommentierbare Seite', 124, 'EXT:we_betatext/icons/bbt-page.gif');
t3lib_SpriteManager::addTcaTypeIcon('pages', '124', '../typo3conf/ext/we_betatext/icons/bbt-page.png');
$addColumns = array('tx_webetatext_enable' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_enable', 'config' => array('type' => 'check', 'default' => '0')), 'tx_webetatext_infomail_to' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_infomail_to', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')), 'tx_webetatext_pstep_title' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_pstep_title', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')));
t3lib_extMgm::addTCAcolumns('pages', $addColumns, true);
t3lib_extMgm::addToAllTCAtypes('pages', '--div--;betatext,tx_webetatext_enable,tx_webetatext_infomail_to,tx_webetatext_pstep_title;;;;1-1-1');
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txwwbbtM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txwwbbtM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
开发者ID:sjakk,项目名称:betatext,代码行数:24,代码来源:ext_tables.php


注:本文中的t3lib_extMgm::allowTableOnStandardPages方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。