17 posts by 4 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 8, 2010   (RSS)

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

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


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?

pdf.jpg 27K

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:

(it has a generated rand number to avoid cache)

<?php require_once "../../../lib/viewer_functions.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)

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

createpdf_menulink.php 1K

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


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

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