Loading progress and warning message

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago #147007 by Lorenzo
Loading progress and warning message was created by Lorenzo
Hi,
for the front-end “Simple form” upload option, please add a loader which inform the file loading progress and a warning message which tell that file has been uploaded to the server, currently we don’t know absolutely nothing if uploading went well, this is a big lack for a document manager component.


Also it would be nice to have an option to notify the user when their document has been published in case when documents are moderated by an administrator.

Thanks to consider these features in a future version of Edocman.

Lorenzo

Please Log in or Create an account to join the conversation.

More
2 years 4 weeks ago #150831 by Mr. Dam
Replied by Mr. Dam on topic Loading progress and warning message
Hi Lorenzo,
Both "Simple" and "Full details" upload are use the same "Post" method to upload the form. Therefore, we aren't able to add "Loading progress". But i will consider to think about the option to send notification emails (to created user) when their document is published.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 weeks ago - 2 years 4 weeks ago #150845 by Lorenzo
Replied by Lorenzo on topic Loading progress and warning message
Hi Dam,
I started a loader integration and it worked quite well but I dropped it because I was unable to transmit textual information of the file, in other words the file is sent to the server and the sending progress is displayed, but not the file description, either the work is already done ... It could be nice to finish the work for Edocman community ...

u.pc.cd/7gzrtalK

Thanks,
Lorenzo
Last edit: 2 years 4 weeks ago by Lorenzo.

Please Log in or Create an account to join the conversation.

More
2 years 4 weeks ago #150846 by Mr. Dam
Replied by Mr. Dam on topic Loading progress and warning message
Hi Lorenzo,
What's the the library that you are using?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 weeks ago - 2 years 4 weeks ago #150851 by Lorenzo
Replied by Lorenzo on topic Loading progress and warning message
Hi Dam, I've used this library:
jquery-form.github.io/form/

Also, since Edocman doesn't have a feature to warning a user that his file has been uploaded successfully (after it has uploaded the file to the server ), it will be nice to make this code overridable because actually it's a core modification:

root -> components -> com_edocman -> controller -> document.php
Code:
if ($ret) { $this->app->enqueueMessage("The document has been saved");

Many thanks,
Lorenzo

PS: I'm attaching the file I overrided in /templates/MY_TEMPLATE/html/com_edocman/document/simple.php

File Attachment:

File Name: loader.zip
File Size:3 KB

 
Last edit: 2 years 4 weeks ago by Lorenzo.

Please Log in or Create an account to join the conversation.

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #153924 by Lorenzo
Replied by Lorenzo on topic Loading progress and warning message
... still not convinced that a loader is essential and useful for sending a file to the server?

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam