Anonymous | Login | Signup for a new account | 2023-03-21 02:14 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ 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 | Fixed in Version | 5.1.1-B1 | ||
Status | closed | Product Version | 5.1.0 | Target Version | 5.1.1 | ||
Time Estimate | No 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. | ||||||
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 |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() 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. |
![]() Dmitry (manager) 2010-07-30 19:06 |
Reviewed and tested good. Please commit. |
![]() 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 |
![]() Dmitry (manager) 2010-11-30 12:48 |
Closing released 5.1.1 task. |
![]() |
|||
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 ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |