Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

iframe and PDFs


Reply


2 Posts   1442 Views

Avatar
ylluminate

Community Member, 24 Posts

30 June 2008 at 11:15pm

Rather than have standard content displayed for a node, I need to display a PDF in an iframe which replaces the standard content. Thus, I need to allow the administrative user to upload a PDF to the CMS and then if a PDF exists for this content, then display an iframe instead of standard content.

Could someone please provide some instructions as to how to accomplish this properly and cleanly?

Avatar
UncleCheese

Forum Moderator, 4096 Posts

1 July 2008 at 2:51am

This might help you out.

http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/17884