[TYPO3-english] DBAL and foreign_table in TCA.php
Aji Yahya
aji.yahya at gmail.com
Wed Mar 7 08:33:37 CET 2012
Hello List,
i was wondering if there is a way to use inside tca.php the
foreign_table for getting records from another table outside typo3 DB.
i have an extension using DBAL, everything working fine. if i try
foreign_table inside tca.php it is throwing:
DBAL fatal error: Tables in this list "tx_myext_table,pages" didn't use
the same DB handler!
my code inside tca.php:
....
'config' => array (
'type' => 'select',
'foreign_table' => 'tx_myext_table',
.....
.....
)
many thanks for any help and ideas
regards
aji
More information about the TYPO3-english
mailing list