Duncan McAllister

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
Sep 19, 2020 at 6:59 am
#136687
Participant
Duncan McAllister
OP

The buttons for twitter and pinterest were in the theme, and I managed to remove them.

So the issue is, slow loading or no loading at all of the doc preview of pdf file.

Thanks

Sep 9, 2020 at 6:16 am
#136051
Participant
Duncan McAllister
OP

Please disregard previous request: I figured out how to change the template to “Single column with Doc preview”.

Perfect!

Thanks

Sep 6, 2020 at 5:03 pm
#135885
Participant
Duncan McAllister
OP

Funny, the link to my page didn’t take:

Here it is again: https://telechrome.com/techmechs/?page_id=889

Sep 6, 2020 at 5:02 pm
#135884
Participant
Duncan McAllister
OP

Here’s the link to my page:

The distiction seems to be in the FileSystem.php class as below. The Content-disposition parameter determines whether it displays or downloads the file (inline or attachment):

if (get_option(‘__wpdm_open_in_browser’, 0) || wpdm_query_var(‘open’) == 1)
header(“Content-disposition: inline;filename=\”{$filename}\””);
else
header(“Content-disposition: attachment;filename=\”{$filename}\””);

In any case, I’ve managed to get it to work after gaining some familiarity with the plugin. Apparently, if I link to a PDF in the WP Media Library, it displays the file. But if I attach the PDF using the Download Manager sidebar, it opens the Windows File Save dialog box, which is exactly what I want.

Is there any way to suppress the filename link from opening that metadata page that displays the download, filesize, filecount, etc?
That link is actually where I would prefer to have it open in brower. I’ve searched around, but I’m not sure which class calls. The link sends this: /?wpdmpro=manuals.

Any help would be greatly appreciated.

Viewing 4 posts - 1 through 4 (of 4 total)