[TYPO3-english] IRRE - records in selectbox

Albert van der Veen albert.van.der.veen at xs4all.nl
Tue May 10 14:20:36 CEST 2011


Hi all,

I'm having a field of type 'inline' in the TCA which uses a 
foreign_selector to get a multi-selectbox with records from a foreign 
table to which relations can be created.

Problem is that all records of this foreign table are listed in the 
selectbox, where I want to narrow this to records with a specific pid.

In class.t3lib_tceforms_inline.php there's a function getPossibleRecords 
which returns the items for the selectbox.
Looking at the code it should be possible to modify the selection with a 
certain fieldTSConfig, but I can't get this to work.

Anyone tried this succesfully?

Thanks,
Albert


More information about the TYPO3-english mailing list