[TYPO3-dev] Complex mm-relations

Ingmar Schlecht ingmar at typo3.org
Thu Jun 4 11:05:33 CEST 2009


Hi Steffen,

Steffen Kamper schrieb:
> the configuration works fine, BE everything is ok.
> I talk about FE where i tried collecting Data using the
> $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query
> 
> Even when i try to find all category-entries for record of master table,
> i get more than expected records. That's quite obvious, as there are
> some having same uid_foreign, but the relevant for category is the one
> having the tablenames-entry with category table, so this part using
> field "tablenames" in mm-table isn't covered by the API.

Why don't you use the t3lib_loaddbgroup API functions in the frontend,
too? They are not limited to BE use.

cheers
Ingmar




More information about the TYPO3-dev mailing list