[TYPO3-english] adding new pagetype (icon fails)

Josef Florian Glatz typo3 at josdesign.at
Wed Mar 23 09:55:10 CET 2011


Am 22.03.2011 21:18, schrieb Kay Strobach:
> if (TYPO3_MODE == 'BE') {
> 		t3lib_div::loadTCA('pages');
> 		$TCA['pages']['columns']['module']['config']['items'][] = array(
> 		
> 'LLL:EXT:sitemgr/Resources/Private/Language/locallang_db.xml:tx_sitemgr_customer',
> 			'sitemgr'
> 		);
> 		t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-sitemgr',
> t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif');
> 		#$ICON_TYPES['sitemgr'] = array('icon' =>
> t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif');
> 	}

thx kay for your answer!

but where can I define the doktype-id (e.g. 45)

-- 
Regards,
Josef Florian Glatz
http://typo3blog.at | http://josdesign.at


More information about the TYPO3-english mailing list