[TYPO3-templavoila] "Dynamic" change of the TS in datastructure
Steffen Kamper
info at sk-typo3.de
Sat Feb 14 16:28:11 CET 2009
Hi,
Xavier Perseguers schrieb:
> Hi Steffen,
>
>>> 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?
>
> What do you mean? I think as UC as a big website with multiple separated
> subsites (this is why I need the disableLanguage too) and as such I
> thought of separating the uploads folder into subfolders for each
> subsite => uploads/tx_templavoila/{subsite1,subsite2,...}
>
> Would this be possible?
>
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.
vg Steffen
More information about the TYPO3-project-templavoila
mailing list