[TYPO3-templavoila] "Dynamic" change of the TS in datastructure
Xavier Perseguers
typo3 at perseguers.ch
Sat Feb 14 16:30:36 CET 2009
Hi,
>>>> Is there a way to change the 10.file.import definition below with TS
>>>> *outside* of the DS itself?
>>>>
>>>> <TypoScript>
>>>> 10 = IMAGE
>>>> 10.file.import = uploads/tx_templavoila/
>>>> 10.file.import.current = 1
>>>> 10.file.import.listNum = 0
>>>> 10.file.maxH = 100
>>>> </TypoScript>
>>>>
>>>
>>> imho not this way as it's out of the scope. If you need dynamic, why
>>> don't you use a lib-object?
>>
> it's no problem to define other uploadfoalders like
> 10.file.import = {$TSconst.uploadFolder}
>
> but i don't know how to use them while uploading file, so you have to
> try to find it.
OK. thanks.
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-project-templavoila
mailing list