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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

iframe and PDFs


Go to End


2 Posts   1701 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, 4102 Posts

1 July 2008 at 2:51am