View pdfs inline with joomla

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
cvkluka
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jun 24, 2013 7:39 am

View pdfs inline with joomla

Post by cvkluka » Thu Jan 16, 2014 9:15 am

I enabled the Content Pdf Embed plugin in the joomla 3.2 application I installed on a goDaddy server and followed the techjoomla instructions that popped up, to include <a href="{pdf=http://mydomain.com/path/to/myfile.pdf|500|300}">My File</a> in the article that is published. But the url breaks when the link is selected: http://www.mydomain.com/path/%3Cembed%20src=
FYI this plugin may have been intended to override a client browser setting that prompts users to download the file, but it doesn't work. The solution was to check my Firefox settings and fix an error in how it handles PDF files. I could probably write a program to embed the file but that's another problem for another day.

User avatar
yellowwebmonkey
Joomla! Explorer
Joomla! Explorer
Posts: 328
Joined: Tue Nov 17, 2009 4:22 am
Location: Central Texas
Contact:

Re: View pdfs inline with joomla

Post by yellowwebmonkey » Thu Jan 16, 2014 8:15 pm

A duct tape fix would be to just load the PDF itself in an iframe within the article.


Locked

Return to “Templates for Joomla! 3.x”