Ich will Werte die per PHP aus der DB kommen über TS manipulieren können.
Auf http://wiki.typo3.org/index.php/TypoScript_-_PHP_Interaction ist das eigentlich gut beschrieben, wie man mit .field auf Felder aus PHP zugreifen kann:
$this->cObj->start($myRow, 'tx_mytable_images');
$myImgCode = $this->cObj->cObjGetSingle($conf['myImg'], $conf['myImg.']);
plugin.tx_myext_pi1 {
myImg = IMAGE
myImg {
file.import = uploads/tx_myext/
file.import.field = tx_myimagefield
# Also possible (remove above 2 lines):
# file.import.dataWrap = uploads/tx_myext/{ field : tx_myimagefield }
file.maxW = 400
}
}
Das will aber nicht ums Verrecken laufen:
$this->cObj->start($row, 'tt_address');
$markerArrayAll['###WTDIRECTORY_VALUE###'] = $this->cObj->cObjGetSingle($this->conf[$what.'.']['field.'][$value], $this->conf[$what.'.']['field.'][$value.'.']); // value
Ideen?
PS: Wohl eine Steffen Frage 😉