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 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

By flamerz - July 7, 2010

wow.. that was exactly what i needed.

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

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