In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000804 [In-Portal CMS] Data Management feature request always 2010-07-23 07:40 2010-11-30 12:48
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.1-B1 Product Version 5.1.0
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000804: Ability to generate PDF document from raw template
Description We have nice TCPDF library based class, that allow to convert template (*.tpl files) into PDF documents. It only lacks ability to generate PDF document from directly given html, without saving it as .tpl file before doing so.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/96b119b815f772c5
Change Log Message
Estimate Points 0
Attached Files patch file icon allow_to_generate_pdf_from_raw_contents.patch [^] (1,057 bytes) 2010-07-23 07:40 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002597)
alex (manager)
2010-07-23 07:43

Code, used for testing.

$pdf_helper =& $this->Application->recallObject('PDFHelper');
/* @var $pdf_helper kPDFHelper */

$file_data = $pdf_helper->BuildFromTemplate('sample content here', Array (), true);
file_put_contents('/path/to/file.pdf', $file_data);

At the end you should get pdf with your content.
User avatar (0002628)
Dmitry (manager)
2010-07-30 19:06

Reviewed and tested good. Please commit.
User avatar (0002732)
alex (manager)
2010-08-29 05:27

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000804: Ability to generate PDF document from raw template
User avatar (0003044)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13902
Timestamp: 2010-08-29 05:27:19
Author: alex
Details ] Diff ]
Fixes 0000804: Ability to generate PDF document from raw template
mod - /in-portal/branches/5.1.x/core/units/pdf/pdf_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003044
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-31 14:10 alex version => 5.1.0
2010-08-29 05:27 alex Note Added: 0002732
2010-08-29 05:27 alex Status reviewed and tested => resolved
2010-08-29 05:27 alex Fixed in Version => 5.1.1-B1
2010-08-29 05:27 alex Resolution open => fixed
2010-08-29 05:27 alex Assigned To !COMMUNITY => alex
2010-08-29 05:27 alex Changeset attached 5.1.x r13902
2010-07-31 13:06 alex Target Version 5.1.1-B1 => 5.1.1
2010-07-31 13:03 alex Target Version => 5.1.1-B1
2010-07-30 19:06 Dmitry Note Added: 0002628
2010-07-30 19:06 Dmitry Status needs testing => reviewed and tested
2010-07-23 07:43 alex Note Added: 0002597
2010-07-23 07:43 alex Assigned To => !COMMUNITY
2010-07-23 07:43 alex Developer => alex
2010-07-23 07:43 alex Status active => needs testing
2010-07-23 07:40 alex New Issue
2010-07-23 07:40 alex File Added: allow_to_generate_pdf_from_raw_contents.patch
2010-07-23 07:40 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/96b119b815f772c5



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker