Hello,
I'm trying to customize Phoca Download and make some my php code starts after the Administrator uploads file to specific directory.
But i can't find where should i place my code to hook new file created event (created by Administrator in control panel).
Regards,
Grigorii
How can we hook new file upload event?
-
GregoryR
- Phoca Newbie

- Posts: 2
- Joined: 26 Dec 2013, 18:51
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How can we hook new file upload event?
Hi, depends on if you mean upload or add.
- if upload - you need to customize the fileupload library in libraries folder
- if add - then you need to see the model of file: phocadownloadfile.php
Jan
- if upload - you need to customize the fileupload library in libraries folder
- if add - then you need to see the model of file: phocadownloadfile.php
Jan
If you find Phoca extensions useful, please support the project