[TYPO3-dev] Dynamic path in $TCA
Patrick Gaumond
gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com
Fri Mar 27 15:03:46 CET 2009
Vivian Pennel wrote:
> 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 ?
Indeed that would be a nice feature. Having a better organised
upload/pics/ and upload/media/ is a step in a cleaner directory
structure when not using DAM.
Is there hidden pitfalls if this become (as an optional feature) a way
to work with images added to tt_content or pages resources?
I mean having this: /upload/pics/23/ for tt_content, id=23 and
/uploads/pics/44 for pages resource, id=44 ?
Patrick
More information about the TYPO3-dev
mailing list