The simplest way to add/embed a PDF to your site, is to:
1. Add a plugin from the tool box
2. Place it on your page, the way you want
3. Add the PDF file by browsing for it.
That simple!
How to add PDF to your site
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
How to add PDF to your site
Running WYSIWYG Web Builder since 2007...
Re: How to add PDF to your site
This will force the pdf to load on the user's machine (popup to view or download).
Put this in filename.php. Call that from WYSIWYG Web Builder (after uploading it).
Put this in filename.php. Call that from WYSIWYG Web Builder (after uploading it).
And then put the filename.pdf in the root of your website. (public_html probably)<?php
header("Content-disposition: attachment; filename=filename.pdf");
header("Content-type: application/pdf");
readfile("filename.pdf");
?>
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Re: How to add PDF to your site
This is not correct. It embeds the PDF on the page. I have tested it both with IE, FF, Chrome as well as Nitro PDF Pro & Adobe Acrobat Reader.jerryco wrote:This will force the pdf to load on the user's machine (popup to view or download).
Try this temp link
http://bit.ly/1oHLMhv
Running WYSIWYG Web Builder since 2007...
Re: How to add PDF to your site
May I have the link to the .php file? I don't think it will owrk on index.php files?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Re: How to add PDF to your site
Why PHP? There is no PHP file. This is standard HTML file. See the source in the link I gave you.
Running WYSIWYG Web Builder since 2007...
Re: How to add PDF to your site
You need a php file. To see it can be done visit http://www.jebentnietgek.nl and click the button on the right side.Put this in filename.php
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Re: How to add PDF to your site
You probably had mistaken that to be a comment on your way in the first post, right? I am sorry. It's a standalone solution for forcing a download or open locally.This will force the pdf to load on the user's machine (popup to view or download).
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
- BaconFries
-
- Posts: 5369
- Joined: Thu Aug 16, 2007 7:32 pm
Re: How to add PDF to your site
Coughs....how to embed a PDF
viewtopic.php?f=26&t=49793
viewtopic.php?f=26&t=49793
Re: How to add PDF to your site
LOL @BaconFries
The Plugin is by far the easiest way and almost under rated feature, I am not sure what Jerryco was referring, but did not make any sense at all as all the things he mentioned are totally unnecessary and it does not throw any errors that he was mentioning. I am almost sorry why I even started this thread.
The Plugin is by far the easiest way and almost under rated feature, I am not sure what Jerryco was referring, but did not make any sense at all as all the things he mentioned are totally unnecessary and it does not throw any errors that he was mentioning. I am almost sorry why I even started this thread.
Running WYSIWYG Web Builder since 2007...
- BaconFries
-
- Posts: 5369
- Joined: Thu Aug 16, 2007 7:32 pm
Re: How to add PDF to your site
lol each to there own thats why...