Updates to release v1. Git stats 65 commits. Failed to load latest commit information. View code. The key features offerred with this release are: Setup pdf component globally in your yii application configuration. Extension has a built-in version of bootstrap. Offers easy to use object oriented methods to render complex PDF. Easy use of the extension like any Yii widget by using the render method with minimal configuration.
The extension uses the latest development version v6. This release v6. It also is expected to improve the display of Thai, Vietnamese and Hebrew. It also includes additional fonts for Chinese, Japanese, and Korean. Inbuilt integration with yii2-grid extension that allows you to export grid as PDF and even generate advanced PDF reports. Demo Read the detailed documentation and usage of the extension. These also contain more detailed instructions on how to upgrade Yii with composer.
Upgrading from Yii 1. Please refer to the guide about upgrading from Yii 1. The Definitive Guide to Yii 2. Yii 1. Continued support and bug fixes for this version have been provided until December 31, You may obtain the latest development version of the Yii 1. If you are looking for Yii 1. To install the basic application template, run the following command:. I was having similar problems viewing pdfs created by this software at first, but I think it was because I was trying to open it in my browser using its pdf viewer.
I was able to get it to work if I downloaded it and used Adobe Acrobat Reader. Not sure if this will solve your problem I try using your code. Thank you for the extension. But when I tried to display the content, it displays twice. Here is my code :. Putera , do you have a reason for using the third param as false in above code? It will return output text to writeHTML method. And your problem should be gone.
Thank you for the fast response. Yes, I have tried to set the third param to true and still shown double. I did not use td inside the table. After I added the td then it works perfect. Thank you so much for the extension and the support. I found that if there is my content say last section of the page which is long and got separated into the next page, then all the content above also moved to the next page, leaving the first page blank. Here is the link when the section content is short : OK.
And if the section got long, it moved down. Do I do something wrong? All I did is just adding the last content of that page with long lorem ipsum text and everything moved down to the next page.
Please help, thank you so much. My extension is just a "bridge" between Yii and vendor libs. Hi, thank you for the great extension. I have a small problem: Not all records are shown For a table with 50 more or less records, everything is ok But eg. Yii Framework Extensions. If you want to change default params - you can set them in config file like shown below.
If you do so - you must keep the order of array items! Sets the page margins for the new document. License: BSDClause. Developed by: Borales. User Contributed Notes Looks awesome! Bravoman at Jan 17, , AM. Description updated bravoman, thanks for noticed. Description updated. Borales at Jan 17, , AM. Thanks Thanks for this cool extension! Minor adjust to use with PHP versions prior to 5. Great - works also with Yii 1. Landscape Orientation I've tried setting orientation to 'L', but the generated pdf file still remains portrait.
Code example produces landscape MrLe at Mar 28, , AM. Borales at Mar 28, , AM.
0コメント