PDF Plug not working for me from a details link.
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 25, 2013 (RSS)
By rez - March 22, 2013
I am using the latest CMSB and Chrome. I am trying to use a list and details setup and make the details page a PDF with the plug. Everything is working fine without the PDF plug-in.
I am using this at the top of my page after getrecords:
<?php if (@$_REQUEST['pdf']) { createPDF_fromOutput('inline', 'registration.pdf'); } ?>
and this in the body, replacing _link (_link was set up and previously worked fine):
<a href="http://www.website.com/registration.php?pdf=1&<?php echo $record['num'] ?>">Registration Form</a>
The page loads and the record shows just fine using the above code. It's just not a PDF as if I'm not using the plug-in at all. All examples you included from within the administration area work perfectly.
thanks for any help.
By gregThomas - March 25, 2013
Hi Rez,
I doesn't look as if there is anything wrong with your code, I was able to create a PDF using that method on our test server. Please could you fill out a second level support request for me? You can find the form here:
https://www.interactivetools.com/support/email_support_form.php
Then I can take a closer look at what could be causing the problem.
Thanks!
Greg
PHP Programmer - interactivetools.com