-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No content in outputPath! #97
Comments
If you use I tested the different Does this solve your issue? Or else, does it work with the example |
No that doesn't change anything. Thx. for the fast reply. It's not that the file is not generated. The problem is that the content inside of the document is not generated. If I use "file-inline" the document shown is correct but the document saved is without content. |
@AureliusHogan Currently I can not reproduce that issue. It seems strange to me, that the document that is returned inline, has different content than the file that is saved, because pdfviewhelpers/Resources/Private/PHP/tcpdf/tcpdf.php Lines 7674 to 7679 in 1647367
and
Does this also happen with the example |
Yes, it worked with 1.x! And this is the file which is saved: And this is the file I get, when I save the inline file: That's crazy!! |
There seems to be an issue with the <?php
namespace Vendor\YourExtension\Model;
class MyPDF extends \Bithost\Pdfviewhelpers\Model\BasePDF
{
public function renderHeader()
{
}
public function renderFooter()
{
}
}
As long as you do not need the header and footer ViewHelpers, this should work. I will investigate that issue. Thanks again for reporting! |
Perfect!! Thanx for the prompt support!! |
Actually it is even enough to just overwrite the footer method |
@AureliusHogan I just released a new version If you like the project, please consider giving it a star :) |
Yes, now everything is fine. And it seems like it is a little faster even. |
Perfect, thanks for reporting and testing! |
I upgraded from version 1.x to version 2.0 and did all of the upgrading changes.
This statement leads to a registration.pdf equal template.pdf. If I use outputDestination="inline" the result has the content of template.pdf inlcuding all pdf:text statements I've set.
Why does registration.pdf don't carry any content? What could be missing?
The text was updated successfully, but these errors were encountered: