links for 2010-08-11

  • TCPDF is a popular open source PHP library that lets you create PDF documents. Its flexibility and versatility lets you create even complex color documents featuring whatever fonts and graphics you need. TCPDF is written entirely in PHP and does all of this PDF magic without requiring any external libraries. This article introduces you to TCPDF, then walks you through reproducing a simple HTML invoice in a downloadable PDF file.

links for 2010-08-10

  • SWField provides an "Flash" widget type to CCK. This modules leverages the functionality of FileField and behaves nearly identically. SWField widgets will give you a nice thumbnail preview of the movie when uploaded. Display options (formatters) within CCK are provided by SWF Tools, a module which this one dependends on. While a few formatters could have been implemented natively in this module, it has been chosen to depend on SWF Tools because this leaves open a handful of options to improve the widget in the future, such as the support for a HTML alternative, support for movie players, to mention a few.