All questions about EDocman extension

download button opens pdf in _self?

  • ruud68
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #82961 by ruud68
download button opens pdf in _self? was created by ruud68
Hi,

wondering if it is possible to have the download button of a file (e.g. .pdf) to open that file in new window / tab.
Currently the popular browsers have pdf support, so when pressing the download button your website is replaced by the pdf reader (taking the user away from your site)

Is it possible to change that behavior? When pressing the download button, open a new tab (or window)?

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

More
8 years 10 months ago #82980 by Bob White
Replied by Bob White on topic download button opens pdf in _self?
Great idea - we would like the same thing.

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

More
8 years 10 months ago #83038 by Mark Ridsdale
Replied by Mark Ridsdale on topic download button opens pdf in _self?
I think that's a great idea. I have it coded at the moment, but would welcome that coming as a feature.

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

  • ruud68
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #83041 by ruud68
Replied by ruud68 on topic download button opens pdf in _self?

Mark Ridsdale wrote: I think that's a great idea. I have it coded at the moment, but would welcome that coming as a feature.

Can you share your code changes? Saves me some work :woohoo:

Thanks in advance,
Ruud.

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

Moderators: Mr. Dam