I've added the code for PDF viewer in text editor, but it for just for external PDF..
I can edit this to work also with attachments?
Now the BB code is:
Code: Select all
[pdf]{RELATIVE_URL}[/pdf]
Code: Select all
<iframe src="http://docs.google.com/gview?url={RELATIVE_URL}&embedded=true" style="width:100%; height:500px;" frameborder="0"></iframe>