[Typo3-dev] TCA stuff...!!??
Brice BERNARD
contact at brikou.com
Fri Sep 2 17:49:57 CEST 2005
YO! see that :
<MY TCA CODE>
...
'foreign_table' => 'tt_address',
'foreign_table_where' => 'AND tt_address.pid=###STORAGE_PID### ORDER BY tt_address.uid',
...
</MY TCA CODE>
I'd like to change it to :
<MY NEW TCA CODE>
...
'foreign_table' => 'tt_address',
'foreign_table_where' => 'AND tt_address.pid=' . $folder . ' ORDER BY tt_address.uid',
...
</MY NEW TCA CODE>
<!--
...bla bla
-->
<MY QUESTION>
HOW TO initialize this value $folder = the value I entered in the content via FlexForm???
I thought something like:
$folder = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'shipper'));
but of course it's WRONG
</MY QUESTION>
- Brice BERNARD (brikou)
-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/dev-list-archive/
More information about the TYPO3-dev
mailing list