Disabling HTML Article Galley in Dashboard History to download original files

I am working with a PKP-Hosted journal, http://murmurations-journal.org,
with the following qualities:

Version history
Version Major Minor Revision Build Date installed
3.0.2.0 3 0 2 0 2017-03-01
Server Information
Setting Name Setting Value
OS platform Linux
PHP version 5.6.27
Apache version Apache
Database driver mysql
Database server version 5.6.33-79.0-log
OJS Configuration
Setting Name Setting Value
general
installed On
base_url http://murmurations-journal.org

Since installing the plugin HTML Article Galley, we have lost the functionality of downloading original documents from the Submission>History area of the dashboard. Rather than downloading the original file from the dashboard, clicking on the download will trigger a PHP call to HTML Article Galley plugin and attempt to display the original file in a web-viewable format. What I want is to download the original file.
HTMLdownload

Does anyone know how I can recover the download of the original file functionality for the dashboard?

Hi @JManager_Murmuration,

If you add the following URL parameters to the download link…

 docCentricWorkflowComponent=reallyDownload

…then you should get the original document (if I’m looking through the code correctly). First I’d suggest checking this to see that it works as expected.

The next challenge is going to be determining when to send the user to the conversion, and when to send them to the original file. The same code implements both cases – see lib/pkp/controllers/api/file/linkAction/DownloadFileLinkAction.inc.php – so calling code is going to have to inform DownloadFileLinkAction of its intentions so it can either specify that it should generate the link to the PDF conversion or the original file download.

Another option would be to add a file download link to the view of the PDF conversion, so the user would first be sent to the conversion, then would be able to click on a link from there to download the original.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks Alec for your quick and detailed response.

I believe we have your second option in place and that is functioning okay as a work-around.
I’ll look into whether there is a way to implement the first option.

This may be a dumb question. Is it possible to alter the $submissionHistoryGridContainer or $submissionHistoryGridURL in a way that changes the download link function within the template to include your suggested URL parameters?

pkp-lib/templates/controllers/informationCenter/submissionHistory.tpl