Issue with links on my page
I am generating links in PHP from the database. A generated link is:
"<a target="_blank" href="events/pdf/oinlineRenwal.6.pdf">Online Renewal</a>"
When I click on the link, it opens the file explorer. It opens a new tab when using Chrome.
The website is https://rscds-sf.org, 'Beginner's Ball Flyer' and 'Truckee Workshop' link.
I have reset the user agent, restarted in safe mode and cleared cache and cookies.
Chosen solution
I'm not able to reproduce your issue. If I click the Beginner's Ball Flyer or Truckee Workshop link at the top of the page, the PDF flyer opens in a new tab, which is the behavior that I assume you want.
Depending on what program a user has selected for viewing PDF files in Firefox, the flyer may open in Firefox or be downloaded and opened by an external program.
More information on setting the PDF viewer in Firefox, you can view the View PDF files in Firefox or choose another viewer page, but as a website administrator, you don't really have any control over how a visitor on your site will open the flyers.
Read this answer in context 👍 1All Replies (3)
Chosen Solution
I'm not able to reproduce your issue. If I click the Beginner's Ball Flyer or Truckee Workshop link at the top of the page, the PDF flyer opens in a new tab, which is the behavior that I assume you want.
Depending on what program a user has selected for viewing PDF files in Firefox, the flyer may open in Firefox or be downloaded and opened by an external program.
More information on setting the PDF viewer in Firefox, you can view the View PDF files in Firefox or choose another viewer page, but as a website administrator, you don't really have any control over how a visitor on your site will open the flyers.
Do you have this code running on internet or do you open the page locally?
Thank you Wesley, I had it set to save pdfs.