DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Developer Guide¶
Target group: Developers
Within this page
Integrating EXT:pluploafe in your own extensions¶
TypoScript¶
lib.examplePluploadFe < plugin.tx_pluploadfe_pi1
lib.examplePluploadFe {
templateFile = fileadmin/some/file.html
uid = some-unique-string
configUid = 123
}
Template integration¶
<f:cObject typoscriptObjectPath="lib.examplePluploadFe" />
Usage in controller¶
// Get saved files
$files = $GLOBALS['TSFE']->fe_user->getKey('ses', 'tx_pluploadfe_files');
// Reset files in session
$GLOBALS['TSFE']->fe_user->setKey('ses', 'tx_pluploadfe_files', '');
$GLOBALS['TSFE']->fe_user->storeSessionData();