[TYPO3] TYPO3 Fatal Error: Extension key "tt_products" was NOT loaded! (t3lib_extMgm::extRelPath)

Michael Stucki michael at typo3.org
Wed Aug 23 11:16:59 CEST 2006


Alright. I just wondered how you came to the conclusion that the OP is using
this extension because he didn't even mention it.

- michael

Franz Holzinger wrote:

> Hello Michael,
> 
>> I'm curious: What is the relation of "tt_products" with
>> "mbi_products_categories"?
>> 
> 
> $EM_CONF[$_EXTKEY] = Array (
> 'title' => 'Shop Categories',
> 'description' => 'Enables hierarchical categories for products. Works
> with every version of tt_products and table.',
> 'category' => 'misc',
> 'shy' => 0,
> 'dependencies' => 'tt_products',
> 
> It uses hooks to extend tt_products.
> 
> // Hook for extending tt_products TCA
> $TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['extendingTCA'][] =
> MBI_PRODUCTS_CATEGORIES_EXTkey;
> 
> The TCA for the products categories will be changed with the categorie
> tree.
> And you have where clauses which directly access the tt_products tables.
> 
>   if ($this->pid_list) {
> $SPaddWhere = ' AND tt_products_cat.pid IN (' . $this->pid_list . ')';
>   }
> Therefore this dependancy is needed to avaid SQL error messages.
> 
> 
> And in the next version there will be a category mm table:
> // Hook for extending the products list
>
require_once(PATH_BE_mbiproductscategories.'lib/class.tx_mbiproductscategories_category.php');
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][TT_PRODUCTS_EXTkey]['prodCategory'
[]
> = 'tx_mbiproductscategories_category';
> 
> 
> - Franz

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list