delta/pragyan

PDF Module

Closed this issue · 0 comments

To create a PDF Module from scratch, using which any page of Pragyan CMS can be converted into a PDF file and downloaded. As of now, the cms/module/pdf.lib.php exists but is almost empty. Finish the module and create a function something like pdf->convert($html); The $html can contain html codes that will be converted into a pdf files and saved temporarily in uploads/temp/ folder and should be prompted to be downloaded. If user cancels download, it should be immediately deleted from temp/ folder. The source code of PDF module can be found on net also, but it may have to be modified a little.