[TYPO3-dev] Dynamic path in $TCA

Vivian Pennel vpennel at iocean.fr
Fri Mar 27 11:43:47 CET 2009


Hello,
For my project i would to modify $TCA specifically 
$TCA['pages']['columns']['media']['config']['uploadfolder'] to add the 
uid of current page.
for example : 
$TCA['pages']['columns']['media']['config']['uploadfolder'] = 
fileadmin/user_upload/[uid]
I found in typo3 core API markers like ###CURRENT_PID### or 
###THIS_UID### but they seem to be not  interpreted by typo3 in this case.
My question is : How to add uid of the page dynamically at the end of 
the path ?

Thanks.

PS: Sorry for my bad english :-\




More information about the TYPO3-dev mailing list