Am 2/24/10 1:05 PM, schrieb Thomas Löffler:
Hallo Rainer,

du gibst doch beim "Holen" des FF mittels $this->cObj->data['pi_flexform']
in deiner Extension mit, nach welchem Flexform er schauen soll:

$this->pi_getFFvalue($this->cObj->data['pi_flexform'], $field);

Gruß
Ok, das klappt jetzt. Habe noch bemerkt, dass die Sheets nicht nur Optik sind, sondern sich in die Struktur reinschieben, man muss also als dritten Parameter den Tab angeben.

So habe ichs gecodet:

$this->pi_initPIFlexForm();
        $sheet = 'sheet1';
        $ff = $this->cObj->data['pi_flexform'];
        $input_pid         = $this->pi_getFFvalue($ff, 'inputPID',$sheet);
        $kw_pid         = $this->pi_getFFvalue($ff, 'kwPID', $sheet);
        $charset         = $this->pi_getFFvalue($ff, 'charset', $sheet);

        $sheet = 'sheet2';
        $input_width    = $this->pi_getFFvalue($ff, 'inputWidth', $sheet);
$input_height = $this->pi_getFFvalue($ff, 'inputHeight',$sheet); $input_rotationspeed = $this->pi_getFFvalue($ff, 'inputRotationSpeed', $sheet); $checkbox_intervals = $this->pi_getFFvalue($ff, 'checkboxIntervals', $sheet);

        $sheet = 'sheet3';
        $input_bgcolor = $this->pi_getFFvalue($ff, 'inputBgColor', $sheet);
$input_textcolor = $this->pi_getFFvalue($ff, 'inputTextColor',$sheet);

--
Webmasterei Hamburg
Dipl.-Ing. R. Schleevoigt / TYPO3 Certified Integrator
Ust-ID:  DE239491976
mail:rai...@webmasterei-hamburg.de
http://webmasterei.com
22303 Hamburg | Novalisweg 10
+49 40 27806982 | skype:kontaktschmied

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Reply via email to