Duncan McAllister

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
in reply to: Single Column with Cache #136687

Duncan McAllister
Participant

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


Duncan McAllister
Participant

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

Perfect!

Thanks


Duncan McAllister
Participant

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

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


Duncan McAllister
Participant

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)