[TYPO3-shop] extended ListView

Franz Holzinger franz at fholzinger.com
Thu Aug 17 20:00:41 CEST 2006


Hello Seytzhan,

> $TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['extendingTCA'][] = 
> $_EXTKEY;
> $TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['getItemMarkerArray'][] 
> = 
> t3lib_extMgm::extPath($_EXTKEY).'class.user_seyitrealtyshop_regionhook.php'; 
> 

I think by this it will not find your hook file. This will give a 
relative path for the backend, but where the frontend does not have 
access to. The frontend needs a relative path.

use this:

if (!defined ('CUSTOM_PRODUCTS_EXTkey')) {
	define('CUSTOM_PRODUCTS_EXTkey',$_EXTKEY);
}

// Hooks for product
$TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['PRODUCT'][] = 
'EXT:'.CUSTOM_PRODUCTS_EXTkey.'class.user_seyitrealtyshop_regionhook.php';


- Franz



More information about the TYPO3-project-tt-products mailing list