Monday 02 April 2007 1:54:58 am
I would like to add files from the media library with a browse button in a front page
I have created my own extension, which is not totally made in an ezpublish way. so I have to create my file object manually
I have found this, it only works when I am logged as administrator Which right must I give to my others users ?
include_once( 'kernel/classes/ezcontentupload.php' );
$upload = new eZContentUpload();
$uploadedOk = $upload->handleUpload( $result, 'fileName', false, 'test' );
thx, Fabien :)
|