Jump to content

Embed PDF with custom button


surinp3

Recommended Posts

Hi guys,

How would I allow users to embed an external PDF file?

I have created a new button in the toolbar section, which works for me as admin, but not for normal members.

The code used is this:

<iframe src="http://docs.google.com/gview?url={option}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

The result for me as admin is the actual PDF inserted into the popup, but for normal members the source is stripped from the content, leaving only an empty box.

I have seen the ""Advanced configuration" setting, but unsure how to use it with this...
Any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...