[TYPO3-german] Re: piBase Plugin meldet Error seit TYPO3 6.2 (...must be File or FileReference)
stefan sajok
stefansajok at hotmail.com
Tue Dec 9 21:11:47 CET 2014
Hallo,
ich habe eben mal bisschen herum probiert ...
Habe im FLUID Tempalte folgendes geändert
ALT:
<f:if condition="{imgTeaser}">
<f:image src="{imgTeaser}" alt="" />
</f:if>
NEU:
<f:if condition="{imgTeaser}">
<f:image src="uploads/tx_mymodules/{imgTeaser}" alt="" />
</f:if>
Und in der PHP Klasse:
var $imagePath = 'uploads/tx_mymodules/';
public function main($content, array $conf) {
...
$image = $this-> imagePath . $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'image', 'basicsheet');
...
}
Change To:
public function main($content, array $conf) {
...
$image = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'image', 'basicsheet');
...
}
Ich weiß nicht warum das so ist. Auf jeden Fall geht es nun. Vielleicht kann mir das mal einer kurz erklären wenn er das liest .. danke.
More information about the TYPO3-german
mailing list