[TYPO3-core] RFC: #10814: imgResource does not allow TS option file.current=1

Franz Koch typo.removeformessage at fx-graefix.de
Tue Mar 31 16:10:02 CEST 2009


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

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.

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-team-core mailing list