Welcome Guest, Not a member yet? Register   Sign In
Embedded pdf viewer
#1

The other day, I came across a docs viewer in a Joomla! website, which displays pdf documents very nicely. I think it was called Aridocs viewer. I'm looking for a way to do that in CodeIgniter. Any tips?
Reply
#2

Viewing PDF documents it's not really a CodeIgniter thing.
You may try this: https://mozilla.github.io/pdf.js/
Reply
#3

A PDF is download and evaluated on the front-end, Codeigniter is back-end... that means than you should look for a plugin or something on your front (client-side), Codeigniter CAN'T do nothing for you with PDFs at least than your PDFs have dynamic content.
Reply
#4

Thanks guys. I will have a look at some Javascript or Jquery solutions.
Reply
#5

I'm not sure that jQuery would do a nice thing for you, but the point is, you need to look through the scripting languages - that's their very thing. As far as I know, you may do stuff in here with node, but I can't claim for sure because I'm more a person of dead simple ways. Speaking of some ready to go web-based solutions I prefer this one https://w9.pdffiller.com It has quite perfect output, as well as the documents remain fully editable, what comes in handy. But yet, Codeigniter is not what you need for sure
Reply
#6

Viewing PDF's is done by the web browser by using headers, if it is not working

check your web browser settings it may be turned off.

But this may also help you out.

READ:

How to configure your browser to open PDF documents in browser window
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB