Create PDF v1.00 Released! (New Plugin)
17 posts by 4 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 8, 2010 (RSS)
Re: [flamerz] Create PDF v1.00 Released! (New Plugin)
By flamerz - July 2, 2010
i wish to create a link to make a pdf from the current record. (see screenshot)
this way the user can get the pdf from the manager too.
could this be possible?
Re: [flamerz] Create PDF v1.00 Released! (New Plugin)
By Dave - July 5, 2010
What do you want to show when the user click on "PDF"? And do you want it to display in the browser or download?
The first step would be creating the viewer for the PDF you want displayed.
Hope that helps!
interactivetools.com
By flamerz - July 5, 2010
i have the viewer and its rendering the pdf fine.
This is my pdf listings:
http://localhost/cesar/pdf.php (this shows the links to the pdf renders, but i wanted to avoid this file and get from inside csmb)
This is my call to the detail:
http://localhost/cesar/cmsAdmin/plugins/createPDF/examples/calltodetail.php?id=2&rand=4461517
(it has a generated rand number to avoid cache)
<?php require_once "../../../lib/viewer_functions.php"; ?>
<?php
$id = $_GET['id'];
$url = "http://localhost/cesar/pdfdetail.php?".$id;
$data = createPDF_fromUrl($url);
createPDF_display('inline', $data, 'example.pdf');
?>
Re: [flamerz] Create PDF v1.00 Released! (New Plugin)
By Dave - July 6, 2010
I'm not sure if this is exactly what you want but this will add a PDF link to the record list. You just need to manually set the url in the plugin for each section.
Give it a try and let me know any questions.
interactivetools.com
By flamerz - July 7, 2010
really useful to link to custom views, pdfs...
i think this is a good combo with the Create PDF plugin.
works like a charm!!
best!
Re: [flamerz] Create PDF v1.00 Released! (New Plugin)
By Dave - July 8, 2010
interactivetools.com