I am using C1 CMS 6.0. I noticed that when I am giving a pdf file which is uploaded in media section as a link to a some text and when I click the text while using the web page it is getting downloaded.Instead I want it to open in a new browser tab.Is there any way to do this?
Asked
Active
Viewed 82 times
1
-
Checked this? http://stackoverflow.com/questions/8294057/how-to-open-pdf-file-in-a-new-tab-or-window-instead-of-downloading-it-using-asp – Souvik Ghosh Mar 17 '17 at 07:40
-
Agree with @SouvikGhosh, check for content-type first. Also it depends on the client browser (in particular, installed plugins) how the file will be handled. – KonstantinL Mar 17 '17 at 07:46
-
1Thank you for your replies.But i got a perfect solution from C1 CMS team. Just add ?download=false at the end of the pdf link – Animol Jose Mar 18 '17 at 11:32
1 Answers
1
I am posting this as an answer for the people to find the answer easily.
Yes You just have to add "?download=false" at the end of the pdf link.
Thanks, Hope this helps.

Pratik Shukla
- 43
- 5