I’m thrilled to announce the release of two brand-new PDF stacks that take document embedding and interactivity on your websites to the next level: PDF Embed 4 and PDF Pro!
These new stacks are a complete rebuild from the ground up—featuring a modernized UI, better performance, and awesome new capabilities you’ve been asking for.
The perfect solution if you are looking for an affordable clean way of embedding PDF documents on your website with zero clutter and consistent cross-device compatibility.
What’s New in v4:
🚀 Completely revamped and modernized viewer UI
⚡ Improved performance and stability
📱 Smarter responsive height controls for better mobile experience
💡 Great for users who want a simple, sleek way to showcase PDFs.
Did you remember to add to the new version that missing feature I’ve been asking for a few months ago? Reminder: I was unable to use a php function in place of a URL (for Sitelok’s Linklok). At that time, only Will Woodgate’s Embed stack had that feature.
PHP statements themselves cannot go into the URL setting. However, if you create a PHP variable that contains the desired URL, then you can put that variable into the URL setting.
I have the same problem with PDF Pro as I used to have with PDF Embed. I made a special section for you on my website to see the issue. I explained everything over there. I just sent you a link to that example page by Private Message.
UPDATE:
If anyone follows this issue and is interested in the outcome of Joe’s help – he fixed it. Now his PDF Pro stack can be used with Sitelok’s Linklok. Some PHP code needs to be added.
Thank you, Joe!
I’m sorry, but I continue to have the same problem. I got one PDF to show, but now I’ve tried with a couple of others, and they won’t show. There is something amiss somehow. I would have liked to present this to a customer, which I will do with the PDF that I got working. The PDF I got working is one of my own. It is crucial that this works with all PDFs.
Indeed, something was amiss, which I discovered after Joe’s solution. I am in touch with Adrian (Sitelok’s developer) and we are almost ready with getting to the bottom of it. I’ll post here when we’re done.
I can report that now PDF Pro stack works with Sitelok. Not “out-of-the-box”, but with some additional PHP code (supplied by Adrian Jones) placed in Joe’s PHP stack.
Here’s how to do it:
In PDF Pro stack – enter $pdf as the PDF URL link token;
Add PHP stack (from Joe’s free ‘Starter Pack’ collection) to a page;
Now, let’s say, your PDF file is stored here: https://mydomain/slfiles_xxxxxxxxxx/pdf_file.pdf
and your page displaying this file has the URL: https://mydomain/mypage/index.php
then you add the following PHP code to the PHP stack: if (function_exists('sl_siteloklink')) $pdf = "https://mydomain.com/mypage/" . sl_siteloklink('pdf_file.pdf',0); else $pdf = "https://mydomain.com/mypage/pdf_file.pdf";
If you have any further questions, please, let me know. Let us know whether this solves your problem, OK?