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


PHP t3lib_extMgm::addPlugin方法代码示例

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


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

示例1: die

<?php

if (!defined("TYPO3_MODE")) {
    die("Access denied.");
}
if (TYPO3_MODE == "BE") {
    include_once t3lib_extMgm::extPath("mc_googlesitemapmod") . "class.tx_mcgooglesitemapmod_tt_content_tx_mcgooglesitemapmod_objective.php";
}
$tempColumns = array("tx_mcgooglesitemapmod_objective" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_objective", "displayCond" => "FIELD:menu_type:=:mc_googlesitemapmod_pi1", "config" => array("type" => "select", "items" => array(array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_objective.I.0", "0")), "itemsProcFunc" => "tx_mcgooglesitemapmod_tt_content_tx_mcgooglesitemapmod_objective->main", "size" => 1, "maxitems" => 1)), "tx_mcgooglesitemapmod_lastmod" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_lastmod", "config" => array("type" => "select", "items" => array(array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_lastmod.I.0", "0"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_lastmod.I.1", "1")), "size" => 1, "maxitems" => 1)), "tx_mcgooglesitemapmod_pageuid" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_pageuid", "displayCond" => "FIELD:menu_type:=:mc_googlesitemapmod_pi1", "config" => array("type" => "group", "internal_type" => "db", "allowed" => "pages", "size" => 1, "minitems" => 0, "maxitems" => 1)), "tx_mcgooglesitemapmod_url" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_url", "displayCond" => "FIELD:menu_type:=:mc_googlesitemapmod_pi1", "config" => array("type" => "text", "cols" => "30", "rows" => "6")), "tx_mcgooglesitemapmod_changefreq" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq", "displayCond" => "FIELD:menu_type:=:mc_googlesitemapmod_pi1", "config" => array("type" => "select", "items" => array(array("", "0"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.0", "1"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.1", "2"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.2", "3"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.3", "4"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.4", "5"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.5", "6"), array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_changefreq.I.6", "7")), "size" => 1, "maxitems" => 1)), "tx_mcgooglesitemapmod_priority" => array("exclude" => 1, "label" => "LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.tx_mcgooglesitemapmod_priority", "displayCond" => "FIELD:menu_type:=:mc_googlesitemapmod_pi1", "config" => array("type" => "input", "size" => "5", "range" => array("lower" => 0, "upper" => 1), "eval" => "nospace")));
t3lib_div::loadTCA("tt_content");
t3lib_extMgm::addTCAcolumns("tt_content", $tempColumns, 1);
$TCA["tt_content"]["palettes"]["menu"]["showitem"] .= ',--linebreak--,tx_mcgooglesitemapmod_objective,--linebreak--,tx_mcgooglesitemapmod_lastmod,--linebreak--,tx_mcgooglesitemapmod_pageuid,--linebreak--,tx_mcgooglesitemapmod_url,--linebreak--,tx_mcgooglesitemapmod_changefreq,--linebreak--,tx_mcgooglesitemapmod_priority';
/*
t3lib_div::loadTCA("pages");
t3lib_extMgm::addTCAcolumns("pages",$tempColumns,1);
//t3lib_extMgm::addToAllTCAtypes("pages","tx_mcgooglesitemapmod_priority;;;;1-1-1, tx_mcgooglesitemapmod_changefreq"); 
$TCA["pages"]["palettes"]["miscellaneous"]["showitem"] .= ',--linebreak--,tx_mcgooglesitemapmod_priority,tx_mcgooglesitemapmod_changefreq';
*/
t3lib_extMgm::addPlugin(array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.menu_type_pi1", $_EXTKEY . "_pi1"), "menu_type");
t3lib_extMgm::addPlugin(array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.menu_type_pi2", $_EXTKEY . "_pi2"), "menu_type");
t3lib_extMgm::addPlugin(array("LLL:EXT:mc_googlesitemapmod/locallang_db.php:tt_content.menu_type_pi3", $_EXTKEY . "_pi3"), "menu_type");
开发者ID:rafu1987,项目名称:t3bootstrap-project,代码行数:21,代码来源:ext_tables.php

示例2: die

<?php

if (!defined("TYPO3_MODE")) {
    die("Access denied.");
}
t3lib_div::loadTCA("tt_content");
$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY . "_pi1"] = "select,layout";
t3lib_extMgm::addPlugin(array("LLL:EXT:eu_sso_owa/locallang_db.php:tt_content.list_type", $_EXTKEY . "_pi1"), "list_type");
开发者ID:woehrlag,项目名称:Intranet,代码行数:8,代码来源: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: array

t3lib_div::loadTCA('tx_he_modules_en');
$TCA['tx_he_modules_en'] = array('ctrl' => array('title' => 'Englischsprachige Module', 'label' => 'title', 'default_sortby' => 'ORDER BY kuerzel', 'delete' => 'deleted', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'res/book.gif'));
$tempColumnsIrFaqs = array('tx_hetools_max_words' => array('exclude' => 1, 'label' => 'Weiter-Link nach Anzahl von Worten', 'config' => array('type' => 'input', 'size' => '5')));
t3lib_div::loadTCA('tx_irfaq_q');
t3lib_extMgm::addTCAcolumns('tx_irfaq_q', $tempColumnsIrFaqs, 1);
t3lib_extMgm::addToAllTCAtypes('tx_irfaq_q', 'tx_hetools_max_words');
$tempColumns = array('tx_hetools_titel_startseite' => array('exclude' => 1, 'label' => 'Titel für die Startseite', 'config' => array('type' => 'input', 'size' => '72')), 'tx_hetools_kandidat_arbeit' => array('exclude' => 1, 'label' => 'Kandidat(en)', 'config' => array('type' => 'input', 'size' => '80')), 'tx_hetools_sortierfeld' => array('exclude' => 1, 'label' => 'Sortiernummer (bitte mit führenden Nullen eingeben)', 'config' => array('type' => 'input', 'size' => '04')));
t3lib_div::loadTCA('tt_news');
t3lib_extMgm::addTCAcolumns('tt_news', $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes('tt_news', 'tx_hetools_kandidat_arbeit');
t3lib_extMgm::addToAllTCAtypes('tt_news', 'tx_hetools_sortierfeld;;;;1-1-1', '', 'before:datetime');
t3lib_extMgm::addToAllTCAtypes('tt_news', 'tx_hetools_titel_startseite;;;;1-1-1', '', 'before:short');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key';
t3lib_extMgm::addPlugin(array('LLL:EXT:he_tools/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tools.gif'), 'list_type');
t3lib_extMgm::addPlugin(array('LLL:EXT:he_tools/locallang_db.xml:tt_content.list_type_pi2', $_EXTKEY . '_pi2', t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tools.gif'), 'list_type');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform_ds.xml');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi2'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi2', 'FILE:EXT:' . $_EXTKEY . '/flexform_pi2_ds.xml');
$tempColumns = array('tx_hetools_filelist_dateitypen' => array('exclude' => 1, 'label' => 'Dateityp(en) (z.B. pdf, um nur Dateien vom Typ PDF anzuzeigen)', 'config' => array('type' => 'input', 'size' => '10')), 'tx_hetools_filelist_sortierfeld' => array('exclude' => 1, 'label' => 'Sortierfeld', 'config' => array('type' => 'select', 'eval' => 'trim,lower,alphanum_x', 'items' => array(array('Titel (standard)', 'title'), array('Sortiernummer', 'tx_hetools_dam_sortiernummer'), array('Dateiname', 'name'), array('Dateigröße', 'size'), array('Dateityp', 'ext'), array('Datum', 'date'), array('Ident-Nr.', 'ident'), array('Überschrift', 'caption')))), 'tx_hetools_filelist_sortierung' => array('exclude' => 1, 'label' => 'Sortierung', 'config' => array('type' => 'select', 'items' => array(array('aufsteigend (standard)', 'a'), array('absteigend', 'r')))), 'tx_hetools_filelist_layout' => array('exclude' => 1, 'label' => 'Ausgabeformat', 'config' => array('type' => 'select', 'items' => array(array('Dokumenttitel - Dateigröße (standard)', 0), array('Dokumenttitel - Datum', 1), array('Dokumenttitel - Dateigröße - Datum', 2), array('nur Dokumenttitel', 3), array('Beschreibung - Dokumenttitel', 4)))));
t3lib_extMgm::addTCAcolumns('tt_content', $tempColumns, 1);
$pageColumns = array('he_pagetype' => array('exclude' => 1, 'label' => 'Seitentyp', 'config' => array('type' => 'select', 'items' => array(array('Kein eigener Seitentyp (Vererbung)', ''), array('Normale Seite', 'Sonstige Seiten'), array('Aktuelles', 'Aktuelles'), array('Alumni', 'Alumni'), array('Ausländische Studieninteressierte', 'Ausländische Studieninteressierte'), array('Fakultätsseiten', 'Fakultätsseiten'), array('Forschung', 'Forschung'), array('International', 'International'), array('Intranet', 'Intranet'), array('Jubilaeumsseite', 'Jubiläumsseite'), array('Kalendertermin', 'Kalendertermin'), array('Personenseite', 'Personenseiten'), array('Presse', 'Presse'), array('Pressemitteilungen', 'Pressemitteilungen'), array('Schulen', 'Schulen'), array('Serviceeinrichtungen', 'Serviceeinrichtungen'), array('Studierende', 'Studierende'), array('Studieninteressierte', 'Studieninteressierte'), array('Unternehmen', 'Unternehmen'), array('Verwaltung', 'Verwaltung'), array('Verwaltungsleitung', 'Verwaltungsleitung')))), 'he_suchbegriffe' => array('exclude' => 1, 'label' => 'Suchbegriffe', 'config' => array('type' => 'input', 'size' => '80')));
t3lib_div::loadTCA('pages');
t3lib_extMgm::addTCAcolumns('pages', $pageColumns, 1);
t3lib_extMgm::addToAllTCAtypes('pages', 'he_pagetype,he_suchbegriffe');
// lange Pfade für Dateiverzeichnisse erlauben
$TCA['tt_content']['columns']['select_key']['label'] = 'Verzeichnis (Sie können über das Stifsymbol rechts den Assistenten anklicken)';
$TCA['tt_content']['columns']['select_key']['config']['type'] = 'text';
$TCA['tt_content']['columns']['select_key']['config']['cols'] = 80;
$TCA['tt_content']['columns']['select_key']['config']['rows'] = 2;
开发者ID:mmirsch,项目名称:he_tools1,代码行数:31,代码来源:ext_tables.php

示例5: Array

			'items' => Array (
				Array('',0),
			),
			'itemsProcFunc' => 'tx_templavoila_handleStaticdatastructures->pi_templates',
			'size' => 1,
			'minitems' => 0,
			'maxitems' => 1,
			'selicon_cols' => 10,
		)
	),
);
t3lib_extMgm::addTCAcolumns('tt_content', $tempColumns, 1);

$TCA['tt_content']['ctrl']['typeicons'][$_EXTKEY . '_pi1'] = t3lib_extMgm::extRelPath($_EXTKEY) . '/icon_fce_ce.png';
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes'][$_EXTKEY . '_pi1'] =  'extensions-templavoila-type-fce';
t3lib_extMgm::addPlugin(array('LLL:EXT:templavoila/locallang_db.xml:tt_content.CType_pi1', $_EXTKEY . '_pi1', 'EXT:' . $_EXTKEY . '/icon_fce_ce.png'), 'CType');

if ($_EXTCONF['enable.']['selectDataStructure']) {
	if ($TCA['tt_content']['ctrl']['requestUpdate'] != '') {
		$TCA['tt_content']['ctrl']['requestUpdate'] .= ',';
	}
	$TCA['tt_content']['ctrl']['requestUpdate'] .= 'tx_templavoila_ds';
}


if(tx_templavoila_div::convertVersionNumberToInteger(TYPO3_version) >= 4005000) {

		$TCA['tt_content']['types'][$_EXTKEY . '_pi1']['showitem'] =
					'--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
					--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.headers;headers,
				--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
开发者ID:rafu1987,项目名称:t3bootstrap-project,代码行数:31,代码来源:ext_tables.php

示例6: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
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,select_key, pages, recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:fb_magento/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:fb_magento/pi1/flexform.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "TypoGento");
if (TYPO3_MODE == "BE") {
    $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_fbmagento_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_fbmagento_pi1_wizicon.php';
}
$tempColumns = array("firstname" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:fe_users.tx_fbmagento_firstname", "config" => array("type" => "input", "size" => "30")), "tx_fbmagento_id" => array("exclude" => 1, "label" => "LLL:EXT:fb_magento/locallang_db.xml:fe_users.tx_fbmagento_id", "config" => array("type" => "input", "size" => "30")));
t3lib_div::loadTCA("fe_users");
t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("fe_users", "firstname;;;;1-1-1");
t3lib_extMgm::addToAllTCAtypes("fe_users", "tx_fbmagento_id;;;;1-1-1");
// add store mapping
$tempColumns = array("tx_fbmagento_store" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:sys_language.tx_fbmagento_store", "config" => array("type" => "select", "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_languages", "maxitems" => 1)));
t3lib_div::loadTCA("sys_language");
t3lib_extMgm::addTCAcolumns("sys_language", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("sys_language", "tx_fbmagento_store;;;;1-1-1");
// add group mapping
$tempColumns = array("tx_fbmagento_group" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group", "config" => array("type" => "select", "items" => array(array('LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group.0', '')), "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_usergroups", "maxitems" => 1)));
t3lib_div::loadTCA("be_users");
t3lib_extMgm::addTCAcolumns("be_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("be_users", "tx_fbmagento_group;;;;1-1-1");
if (TYPO3_MODE == "BE") {
开发者ID:maffen,项目名称:TypoGento,代码行数:31,代码来源:ext_tables.php

示例7: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == "BE") {
    include_once t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_sema_sourcecode_addFieldsToFlexForm.php';
}
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::addPlugin(array('LLL:EXT:sema_sourcecode/pi1/locallang.php:ext_title', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml');
if (TYPO3_MODE == "BE") {
    $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_semasourcecode_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . "pi1/class.tx_semasourcecode_pi1_wizicon.php";
}
开发者ID:sema,项目名称:typo3-source-code-highlighter,代码行数:16,代码来源:ext_tables.php

示例8: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$typo3Version = t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version);
if (TYPO3_MODE == 'BE' && !$loadTcaAdditions) {
    t3lib_extMgm::addStaticFile(SR_FEUSER_REGISTER_EXT, 'static/css_styled/', 'FE User Registration CSS-styled');
    if ($typo3Version < 6001000) {
        t3lib_div::loadTCA('tt_content');
    }
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][SR_FEUSER_REGISTER_EXT . '_pi1'] = 'layout,select_key';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][SR_FEUSER_REGISTER_EXT . '_pi1'] = 'pi_flexform';
    t3lib_extMgm::addPiFlexFormValue(SR_FEUSER_REGISTER_EXT . '_pi1', 'FILE:EXT:' . SR_FEUSER_REGISTER_EXT . '/pi1/flexform_ds_pi1.xml');
    t3lib_extMgm::addPlugin(array('LLL:EXT:' . SR_FEUSER_REGISTER_EXT . '/locallang_db.xml:tt_content.list_type', SR_FEUSER_REGISTER_EXT . '_pi1'), 'list_type');
}
/**
 * Setting up country, country subdivision, preferred language, first_name and last_name in fe_users table
 * Adjusting some maximum lengths to conform to specifications of payment gateways (ref.: Authorize.net)
 */
if ($typo3Version < 6001000) {
    t3lib_div::loadTCA('fe_users');
}
$GLOBALS['TCA']['fe_users']['columns']['username']['config']['eval'] = 'nospace,uniqueInPid,required';
$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';
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:31,代码来源:ext_tables.php

示例9: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:tipafriend_plus/flexform_ds.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:tipafriend_plus/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_tipafriendplus_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_tipafriendplus_pi1_wizicon.php';
}
开发者ID:CPS-IT,项目名称:TYPO3-tipafriend_plus,代码行数:13,代码来源:ext_tables.php

示例10: array

t3lib_div::loadTCA('tt_content');
t3lib_extMgm::addTCAcolumns('tt_content', $tempColumns, 1);
$TCA['tt_content']['palettes']['tx_imagecarousel'] = array('showitem' => 'tx_imagecarousel_activate', 'canNotCollapse' => 1);
t3lib_extMgm::addToAllTCAtypes('tt_content', '--palette--;LLL:EXT:imagecarousel/locallang_db.xml:tt_content.tx_imagecarousel_title;tx_imagecarousel', 'textpic', 'before:imagecaption');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi2'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform,image_zoom';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi2'] = 'pi_flexform,image_zoom';
// Load fields for DAM
if (t3lib_extMgm::isLoaded("dam")) {
    $tempColumns = array('tx_jfdam_link' => array('exclude' => 1, 'label' => 'LLL:EXT:imagecarousel/locallang_db.xml:tx_dam.tx_jfdam_link', 'config' => array('type' => 'input', 'size' => '30', 'wizards' => array('_PADDING' => 2, 'link' => array('type' => 'popup', 'title' => 'Link', 'icon' => 'link_popup.gif', 'script' => 'browse_links.php?mode=wizard', 'JSopenParams' => 'height=600,width=500,status=0,menubar=0,scrollbars=1')))));
    t3lib_div::loadTCA('tx_dam');
    t3lib_extMgm::addTCAcolumns('tx_dam', $tempColumns, 1);
    t3lib_extMgm::addToAllTCAtypes('tx_dam', '--div--;LLL:EXT:dam/locallang_db.xml:tx_dam_item.div_custom, tx_jfdam_link;;;;1-1-1');
    // add fields to index preset fields
    $TCA['tx_dam']['txdamInterface']['index_fieldList'] .= ',tx_jfdam_link';
}
t3lib_extMgm::addPlugin(array('LLL:EXT:imagecarousel/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'pi1/ce_icon.gif'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/pi1/flexform_ds.xml');
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_imagecarousel_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_imagecarousel_pi1_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'Image Carousel');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/cloudcarousel/', 'Cloud-Carousel');
t3lib_extMgm::addPlugin(array('LLL:EXT:imagecarousel/locallang_db.xml:tt_content.list_type_pi2', $_EXTKEY . '_pi2', t3lib_extMgm::extRelPath($_EXTKEY) . 'pi2/ce_icon.gif'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi2', 'FILE:EXT:' . $_EXTKEY . '/pi2/flexform_ds.xml');
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_imagecarousel_pi2_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi2/class.tx_imagecarousel_pi2_wizicon.php';
}
require_once t3lib_extMgm::extPath($_EXTKEY) . 'lib/class.tx_imagecarousel_itemsProcFunc.php';
require_once t3lib_extMgm::extPath($_EXTKEY) . 'lib/class.tx_imagecarousel_TCAform.php';
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:31,代码来源:ext_tables.php

示例11: die

<?php

/**
 * DB-Felder, die im BE bearbeitbar sind.
 * @package tx_mkmarketplace
 * @subpackage tx_mkmarketplace_
 */
/**
 * alle benötigten Klassen einbinden etc.
 */
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$_EXTKEY = 'mklib';
//TCAs einbinden
require t3lib_extMgm::extPath($_EXTKEY) . 'tca/ext_tables.php';
// initalize 'context sensitive help' (csh)
require_once t3lib_extMgm::extPath($_EXTKEY) . 'res/help/ext_csh.php';
////////////////////////////////
// Plugin anmelden
////////////////////////////////
// Einige Felder ausblenden
$TCA['tt_content']['types']['list']['subtypes_excludelist']['tx_mklib'] = 'layout,select_key,pages';
// Das tt_content-Feld pi_flexform einblenden
$TCA['tt_content']['types']['list']['subtypes_addlist']['tx_mklib'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue('tx_mklib', 'FILE:EXT:' . $_EXTKEY . '/flexform_main.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:' . $_EXTKEY . '/locallang_db.php:plugin.mklib.label', 'tx_mklib', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'));
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/basic/', 'MK Lib - Basics');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/development/', 'MK Lib - Development');
开发者ID:RocKordier,项目名称:typo3-mklib,代码行数:29,代码来源:ext_tables.php

示例12: defined

<?php

/**
 * Geolocation contexts: Database table backend configuration
 *
 * PHP version 5
 *
 * @category   TYPO3-Extensions
 * @package    Contexts
 * @subpackage Geolocation
 * @author     Christian Weiske <christian.weiske@netresearch.de>
 * @license    http://opensource.org/licenses/gpl-license GPLv2 or later
 * @link       http://github.com/netresearch/contexts_geolocation
 */
defined('TYPO3_MODE') or die('Access denied.');
if (TYPO3_MODE === 'BE') {
    // All other modes did load it already
    include_once t3lib_extMgm::extPath($_EXTKEY) . 'ext_contexts.php';
}
t3lib_extMgm::addPlugin(array('LLL:EXT:contexts_geolocation/Resources/Private/Language/locallang_db.xml:tt_content.list_type_contextsgeolocation_position', $_EXTKEY . '_position'), 'list_type');
$LanguagesToContext = array('tx_contexts_geolocation_languages' => array('exclude' => 0, 'label' => 'Associated Languages', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'minitems' => 0, 'size' => 10, 'autoSizeMax' => 30, 'maxitems' => 9999, 'multiple' => 0)));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tx_contexts_contexts', $LanguagesToContext);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tx_contexts_contexts', 'tx_contexts_geolocation_languages', '', 'after:alias');
开发者ID:mjankiewicz,项目名称:t3x-contexts_geolocation,代码行数:23,代码来源:ext_tables.php

示例13: die

<?php

if (!defined("TYPO3_MODE")) {
    die("Access denied.");
}
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key';
t3lib_extMgm::addPlugin(array('FORMIDABLE cObj (cached)', $_EXTKEY . '_pi1'), 'list_type');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/pi1/flexform.xml');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi2'] = 'layout,select_key';
t3lib_extMgm::addPlugin(array('FORMIDABLE_INT cObj (not cached)', $_EXTKEY . '_pi2'), 'list_type');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi2'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi2', 'FILE:EXT:' . $_EXTKEY . '/pi2/flexform.xml');
开发者ID:preinboth,项目名称:formidable,代码行数:14,代码来源:ext_tables.php

示例14: die

	component while the other one want to have this other one. I think it is very challenging to come up 
	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,代码行数:31,代码来源:ext_tables.php

示例15: 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";
}
开发者ID:BackupTheBerlios,项目名称:stypo3dext,代码行数:18,代码来源:ext_tables.php


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