[TYPO3-dev] Alter foreign_table_where to select items from parent page
Brian Bendtsen
nightowl at galnet.dk
Tue Apr 24 15:37:02 CEST 2007
Mathias Schreiber [TYPO3] skrev:
> Brian Bendtsen schrieb:
>> function main() {
>> $retVal =
>> array(array('0'=>'value_to_save_in_db','1'=>'label_to_show_in_BE'));
>> return $retVal;
>> }
>> }
>>
>> But nothing shows up in the select box.
>>
>> I have this in my TCA:
>
> Try prefixing the function with user_ or tx_
No change
Do I have to return an array in an array
Cant it just be:
$retVal = array('0'=>'value_to_save_in_db','1'=>'label_to_show_in_BE');
return $retVal;
/BB
More information about the TYPO3-dev
mailing list