In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
804 |
[In-Portal CMS] Data Management |
feature request |
always |
2010-07-23 07:40 |
2010-11-30 12:48 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.1.0 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.1.1-B1 |
|
Reference:
|
http://groups.google.com/group/in-portal-dev/browse_thread/thread/96b119b815f772c5 |
Change Log Message:
|
|
Estimate Points:
|
0 |
|
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:
|
|
Relationships | |
Attached Files:
|
allow_to_generate_pdf_from_raw_contents.patch (1,057) 2010-07-23 07:40 http://tracker.in-portal.org/file_download.php?file_id=679&type=bug |
|
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 |
Notes |
|
(0002597)
|
alex
|
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. |
|
|
(0002628)
|
Dmitry
|
2010-07-30 19:06
|
|
Reviewed and tested good. Please commit. |
|
|
(0002732)
|
alex
|
2010-08-29 05:27
|
|
Fix committed to 5.1.x branch. Commit Message:
Fixes 0000804: Ability to generate PDF document from raw template |
|
|
(0003044)
|
Dmitry
|
2010-11-30 12:48
|
|
Closing released 5.1.1 task. |
|