[TYPO3-dam] Getting the uid of the Media folder

Francois Suter fsuter at cobweb.ch
Mon Mar 17 23:33:43 CET 2008


Hi all,

I was wondering whether there was a canonical way of getting the uid of 
the Media sysFolder? I'm trying to insert records into the DAM from an 
extension and I obviously need to set the pid inside the tx_dam record. 
I know I could just query the page table for a page called "Media", but 
I thought that there's maybe a helper function for that in the DAM.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-dam mailing list