[TYPO3-english] Dynamic path in file.import

Sune Brodersen Sune at talefod.dk
Wed Mar 2 14:45:18 CET 2011


Hi,
 
I have the following ts in my datastructure:

<TypoScript>

10 = IMAGE
10.file.XY = 200,150
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW.field = img_width
10.file.minW.field = img_width
10.file.maxH.field = img_height
10.file.minH.field = img_height
				
10.stdWrap.typolink.parameter.field = link

</TypoScript>

Now what i want to do is to use a "dynamic" path for 10.file.import and
insert a field from fe_users called cid at the end of the path so it will
look like this:

"10.file.import = fileadmin/<cid>/template"

Is that possible? Cant seem to figure out a way if it should be solved in
Typoscript.

BR/Sune


More information about the TYPO3-english mailing list