wpdm_tree, pdf and target="_blank"

Viewing 8 posts - 1 through 8 (of 8 total)
#46364

fremois
Member

Hi

I use wpdm-tree shortcode with the option “download_link=1” to browse PDF files.
I want to view the PDF in the browser like Safari or Chrome.
In WPDM Settings, the option “Open in Browser” is on and when i click on a PDF file, it’s open in the current window.
But i want to open a NEW window to view this PDF !
I have added :
target=\”_blank\” in the php source code in wpdm-extended-shortcode.php (line 469 and 471).
In my browser (It’s Safari), when i am hovering the link i can see “…in the new window” in the status bar.
But when i click on the link, the PDF is open in the current window.
How can force to see the PDF in new window ?
Thank’s to help
Francis

#46411

Jass
Moderator

Please provide me your temporary login info using private reply to check the issue
thank you

#46520

fremois
Member
This reply has been marked as private.
#46600

Jass
Moderator
This reply has been marked as private.
#46629

fremois
Member
This reply has been marked as private.
#46671

Jass
Moderator

I m not able to access “plugins” option in admin panel. Did you remove any authorization?
Thankyou.

#46686

fremois
Member
This reply has been marked as private.
#46930

Jass
Moderator

Hi,
Some other plugin was causing <a> tag to reload again. So i changed to <button> as shown in image.
thank you.

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

The topic ‘wpdm_tree, pdf and target="_blank"’ is closed to new replies.