Forums / Developer / Right for upload ?
Fabien Mas
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 administratorWhich 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 :)
Wednesday 11 April 2007 12:59:06 am
I've found it : Content >> create >> and my node where I want to upload ...