[TYPO3-mvc] Re: Create link to file resource with fluid
Steffen Kamper
info at sk-typo3.de
Mon Sep 8 22:50:27 CEST 2014
hmm - after more recherche on the net i didn't found a solution.
What i did now is rendering with TS, this works for me:
<a href="{target -> v:format.substring(start: 5) -> f:cObject(typoscriptObjectPath: 'lib.fileUri')}" ...
where the TS looks like
lib.fileUri = FILES
lib.fileUri {
files.current = 1
renderObj = TEXT
renderObj {
file.import.data = file:current:uid
file.treatIdAsReference = 1
value.data = file:current:publicUrl
}
}
I'm really wondering there is no easy way - or do you have a better idea?
More information about the TYPO3-project-typo3v4mvc
mailing list