Hi folks,
We were running a 1.6 install modified to send notifications to users when a
file was included in the Filemanager. In order to to so we grab some
information after the upload, particularly the path and name of the file
included:
// Path to the file to include in the e-mail
$path = $content['nm']['path'];
$file_path = $content['nm']['path'] . "/" .
$content[‘upload’][‘name’];
$siteaddress = $GLOBALS[‘phpgw_info’][‘server’][‘webserver_url’];
It’s still working fine on 1.6, but when we tried to do the same on a 1.8
install, the file’s name stays empty.
Name of upload changed from “upload” to “upload[]”, as you can upload
multiple files now. So name of first uploaded file would be under
$content[‘upload’][0][‘name’].
EPL Version offers email notifications about added, modified or deleted
files, independent on how the modification was done: filemanager,
WebDAV, Attachments. It also offers User to subscribe to that service on
a per folder basis. Additional you can subscribe external users, who
then get the file mailed, whenever it changes.
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know…and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers