[TYPO3] uploading via DAM from FE-ext

Andreas Lappe nd at off-pist.de
Thu Sep 18 08:55:08 CEST 2008


Hey,

    I'm just trying to write a frontend extension to upload files into
DAM categories. I'm stuck. From my extension I'm calling
tx_dam->index_autoProcess($filenameWithPath) which fails (|Inserting
meta record failed. See log for reason!|).

    I think I tracked my problem down to the method
t3lib_TCEmain->isTableAllowedForThisPage() and to be more specific the
check of $PAGES_TYPES[$doktype]['allowedTables'] and
$PAGES_TYPES['default']['allowedTables'] (line 5359).

    Is there a way to add my page to this array or to somehow make it
work?

Thanks
Andy
-- 
,,Du sollst deinen Nächsten lieben wie dich selber, weil du dein
Nächster bist. Nur eine Illusion läßt dich glauben dein Nächster sei
ein anderer als du selber.´´
							-Radhakrishnan


More information about the TYPO3-english mailing list