[TYPO3-dev] Extending tt_news - class does NOT exist (General Utility)

Marc Ernst marc at skyit-webdesign.com
Tue Mar 17 10:39:55 CET 2015


Hi folks,

I am developing my very first extension and I use typo3 6.2.9 and extension builder. I managed to build a basic database structure and I can output some data with it. 

Now I want to parse this data to tt_news Markers . The Markers is correctly in place (i checked twice), but when I implement a hook to my extension my GeneralUtility following Log shows:

 [INFO] request="5506dec70ba7e" component="TYPO3.CMS.Core.Utility.GeneralUtility": resolvedClass: Fahrzeug 
 [WARNING] request="5506dec70ba7e" component="TYPO3.CMS.Core.Utility.GeneralUtility": class does NOT exist!!!: Fahrzeug

Here is my function in the file /Classes/Controller/FahrzeugController.php

	public function extraItemMarkerProcessor(array $parentMarkerArray, array $row, array $lConf, tx_ttnews $tt_news) {
		
		debug($parentMarkerArray, '('.__CLASS__.'::'.__FUNCTION__.')', __LINE__, __FILE__, 3); // TODO DELETE
		$this->cObj = $tt_news->local_cObj;		
		$parentMarkerArray['###FAHRZEUGE###'] = 'Test!';
		return $parentMarkerArray;
	}

Here is my Hook in localconf.php

$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'FahrzeugController';

I tried it with 

$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'EXT:y7_fahrzeugdatenbank/Classes/Controller/FahrzeugController.php:&FahrzeugController';

But no change... 

I'm getting no edge on this ... please help!



More information about the TYPO3-dev mailing list