Re: [TYPO3-english] Typo3 foreign_table: How to specify a specific column to a select drop down menu?

2017-10-25 Thread Mikel
OK. Yes, that is possible. Like I said —> itemsProcFunc. Go into your tca, to the select field. 'renderType' => 'selectSingle', 'foreign_table' => 'tx_cvfoobar_domain_model_kunde', 'itemsProcFunc' => ‚Foobar\CvFoobar\Tca\SelectProcFunc->prepareItems', class SelectProcFunc { public function

Re: [TYPO3-english] Typo3 foreign_table: How to specify a specific column to a select drop down menu?

2017-10-24 Thread Mikel
Do you need something like that? 'foreign_table_where' => 'AND tx_icingaconfgen_domain_model_kunde.your_property = ###REC_FIELD_[tx_icingaconfgen_your_model_to_compare.your_property]###‘, Sorry, but I’m not sure if I understand your use case. It is a bit hard to read :-) You can also have a

Re: [TYPO3-english] Typo3 foreign_table: How to specify a specific column to a select drop down menu?

2017-10-24 Thread Mikel
Hi, I’m not sure, which properties you want to use for your selection. But a basic where clause would be: > 'foreign_table' => 'tx_icingaconfgen_domain_model_kunde‘, 'foreign_table_where' => 'AND tx_icingaconfgen_domain_model_kunde.your_property = your_value', See

[TYPO3-english] Typo3 foreign_table: How to specify a specific column to a select drop down menu?

2017-10-24 Thread christian ewigfrost
Basically a simple question (i guess): I want to add records in the Typo3 backend. Thatfor i made an extension containing 4 different classes. While adding a record of one specific class to a folder via the backend i want to have a select that lets me chose from items of a column from another