Any Simple Way of Outputting to PDF?

Has anyone come up with a reasonably simple way of outputting a details view to PDF? I've tried to follow everything in the wiki and I'm still baffled. I have no idea what that skimpy bit of wiki documentation is trying to tell me about templates. Tried outputting to a simple php page using FPDF, and it works fine when I use it directly on my local machine, but as a piece of code within a joomla article with sourcerer, the output comes out blank. Tried putting the content into an article with sourcerer and outputting to a pdf with PHOCA pdf, but only the hard article content gets output.

Anyone know a relatively simple way (eg no CSS editing) of outputting to pdf or have a working example of a view template that might help me understand what I'm supposed to be doing?
 
Simple - no.

As the WIKI says:
https://fabrikar.com/forums/index.php?wiki/pdf-output/
  • You need the Fabrik library package
  • You need to enable PDF in your form settings
You can then do a PDF output just with your details template - but this probably will look ugly.

So create a custom details template https://www.fabrikar.com/forums/index.php?wiki/form-and-details-templates/
and add custom CSS which is supported by the PDF lib you've choosen (default is domPDF, in Fabrik Options you can switch to mPDF).

PDF CSS examples are in https://fabrikar.com/forums/index.php?wiki/pdf-output/

Feel free to improve the WIKI.
 
Thanks. Instead of trying to decipher the wiki, I created a php page using FPDF and used the list link plug-in to make a the pdf available from my list. I have no idea whether it's a better approach, but I could at least grasp the work involved. With the approach you (and the wiki) outlined, I really feel like I have no idea what it means or where to start. I looked at the templates but I have no idea how they correlate to what I'm seeing on the screen. Big ball of mystery to me.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top