Hi,
i'd like to start a print after the file has successfully uploaded. Is it possible somehow to start a batch file on success? The reason is to set a watermark on the uploaded documents.
Thanks.
Hi.
I think this should be possible with a special plugin.
Ok, i wasnt able to find a plugin, but maybe, it is possible that you can tell me, at what point in which file the upload process "complete" gets called or in which method so i can add a view lines of code and print it myself.
Basically i simply want to start a batch file after the upload. Where do i have to execute or run the batch file?
I think you can create a content plugin and use the 'onContentAfterSave' event in it.
See here:
http://docs.joomla.org/Plugin/Events/Content
and here:
http://docs.joomla.org/Portal:Developers#Plugins
Can i also do it with the Jdownloads plugin? i added the onContentAfterSave method but it seems not to work or i cant test it if it works because i dont know if it really
got installed properly or if i have to do anything else.
My steps would be:
1. Download the jdownloads content plugin
2. Install it in the extension manager within joomla
3. Find the jdownloads.php of the extension and add the method
4. within the method add the exec command for opening the batch script
5. batch script executed
Unfortunately steps 4 and 5 do not work, do you have any idea?
Quote1. Download the jdownloads content plugin
It exist in the moment not a jD 3.2 compatible version. This shall be come later when we have a rc or stable version from 3.2.