[TYPO3-core] RFC: #10814: imgResource does not allow TS option file.current=1
Stefan Geith
typo3dev2008.nospam1 at geithware.de
Wed Apr 1 09:09:42 CEST 2009
Franz Koch schrieb:
> Hi,
>> Problem:
>> Even if you have set an imageFilename with
>> $cObj->setCurrentVal('filename'),
>> you cant use this in TS by e.g. image.file.current=1
>>
>> Example:
>> image = IMAGE
>> image.file.current = 1
>> does not work.
>>
>> Solution:
>> The attached patch improves class.tslib_content.php to allow
>> the 'current'-option (like in Example above)
>>
>> Branches:
>> Trunk only
>>
>> Bugtracker reference:
>> http://bugs.typo3.org/view.php?id=10814
>
> -1
>
> sorry, but what for?
>
> image = IMAGE
> image.file.import.current = 1
Indeed ! I overlooked that ;)
/Stefan
>
> that's all you need to do what you like to do, and it's already
> available - so I don't see a reason for this patch.
>
More information about the TYPO3-team-core
mailing list