- Posts: 75
- Thank you received: 5
All questions about EDocman extension
Upload notification does not work
- agussol
- Topic Author
- Offline
- Senior Member
Less
More
12 years 5 months ago #17262
by agussol
Upload notification does not work was created by agussol
Hello Tuan,
The download notification is working, but not the upload notification.
Could you publish a fix please ?
Best regards
The download notification is working, but not the upload notification.
Could you publish a fix please ?
Best regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 4 months ago #17307
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Upload notification does not work
Hi
Please give me few more days for working on this item .
Regards,
Tuan
Please give me few more days for working on this item .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- agussol
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 75
- Thank you received: 5
12 years 4 months ago #17799
by agussol
Replied by agussol on topic Re: Upload notification does not work
Hello,
Any news about this ?
Thanks
Any news about this ?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 4 months ago #18013
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Upload notification does not work
Hi
Finally I have time to come back to this issue. The issue has been fixed and the code has been updated to download package on server. There are two files were modified to add this feature :
components/com_edocman/models/document.php
administrator/components/com_edocman/helpers/edocman.php
Regards,
Tuan
Finally I have time to come back to this issue. The issue has been fixed and the code has been updated to download package on server. There are two files were modified to add this feature :
components/com_edocman/models/document.php
administrator/components/com_edocman/helpers/edocman.php
Regards,
Tuan
The following user(s) said Thank You: agussol
Please Log in or Create an account to join the conversation.
- agussol
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 75
- Thank you received: 5
12 years 4 months ago - 12 years 4 months ago #18072
by agussol
Replied by agussol on topic Re: Upload notification does not work
Hello,
Thanks, it works.
The only thing I've changed is :
Into components/com_edocman/models/document.php
Because I want to know if an existing document is being updated and not only a new one.
It generate a mail even if the document is not modified (edit, and save directly) but it's okay, like this I may see if users have difficulties.
An improvement should be to have a notification if a document is deleted...
Thanks again.
Nicolas
Thanks, it works.
The only thing I've changed is :
Code:
//if ($isNew && $config->upload_notification) {
if ($config->upload_notification) {
EdocmanHelper::sendUploadNotificationEmail($table, $config);
}
Into components/com_edocman/models/document.php
Because I want to know if an existing document is being updated and not only a new one.
It generate a mail even if the document is not modified (edit, and save directly) but it's okay, like this I may see if users have difficulties.
An improvement should be to have a notification if a document is deleted...
Thanks again.
Nicolas
Last edit: 12 years 4 months ago by agussol.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 4 months ago #18075
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Upload notification does not work
OK, great, thanks for confirming. As Nicolas pointed out, the extension only send notification when someone upload documents, not when they edit document. So if anyone wants to receive notification when users edit document as well, you can use the solution which Nicolas provided. It will work well
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.