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)

By flamerz - July 2, 2010

i see... thanks dave.. i get it working.

Re: [flamerz] Create PDF v1.00 Released! (New Plugin)

By flamerz - July 2, 2010

Dave,

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?
Attachments:

pdf.jpg 27K

Re: [flamerz] Create PDF v1.00 Released! (New Plugin)

By Dave - July 5, 2010

Hi flamerz,

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!
Dave Edis - Senior Developer
interactivetools.com

By flamerz - July 5, 2010

i wish to know if i can add a link named "pdf" inside CMSB like in the image (not in my php files) and with the correct id record number.

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

Hi flamerz,

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.
Dave Edis - Senior Developer
interactivetools.com
Attachments:

createpdf_menulink.php 1K

Re: [flamerz] Create PDF v1.00 Released! (New Plugin)

By Dave - July 8, 2010

Great to hear, let us know if you need anything else! :)
Dave Edis - Senior Developer
interactivetools.com