Jump to content

Embed PDF with custom button


surinp3

Recommended Posts

Posted

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?

Posted

No ideas?

Maybe someone from the IPB team wishes to clear this up?
Is this a bug as creating a custom button works sort of, but editing it later is not possible as the whole "code section" is blank when trying...

Archived

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

  • Recently Browsing   0 members

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