Comments (3)
afaik wkhtmltopdf has javascript enabled by default and a delay of 200,
CakePdf responsibilty it to render your view templates to generate the
html. Are you using external ,js scripts(jquery etc) or only pure
javascript in a script tag?
2013/10/13 Pelimak [email protected]
I don't know if this is a problem with my set up of CakePDF, or if this is
just impossible with the current plugin, but I cannot get any PDF to
actually read/execute Javascript. If I have an html page with just html and
php, the page will generate just fine; however, it will skip anything in
Javascript tags. I really need to be able to use Javascript when the PDF is
created so that I can create the images I need to be on the document. I am
using wkhtmltopdf as the engine.I apologize if this has been answered before, but in days of researching
the problem and experimenting with possible solutions, I have found no
information on getting Javascript to work. I would greatly appreciate any
help in this matter. Thanks.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.
from cakepdf.
I'm using only pure javascript. If I do something very simple like <script type="text/javascript">alert("test");</script> it will not do the alert. I also tried having it change the text of an html span to see if it was just alerts that did not work; however, that did not do anything either.
from cakepdf.
Closing due to inactivity. This sounds like a problem with wkhtmltopdf (If it is possible at all).
from cakepdf.
Related Issues (20)
- CakePdf configuration ignored by the plugin HOT 2
- Add debug option for PDF rendering engine - fonts not rendering HOT 1
- CakePHP 4.x Compatibility HOT 3
- Adapt project description to mention CakePHP 4 HOT 1
- Stable release for CakePHP 4 HOT 2
- Its showing Failed to load PDF document HOT 1
- Error with Cakephp4 HOT 1
- $CakePdf->viewVars($this->_View->viewVars); problem
- wkhtmltopdf binary is not found or not executable - getBinaryPath()
- Include CSS Files in Command does not work HOT 2
- Error in documentation HOT 2
- parameters not passed to mPDF engenie HOT 3
- Using PHP8 impossible with current configuration HOT 2
- Missing CSS with wkhtmltopdf 0.12.6
- Custom Engine possible? (Trying weasyprint) HOT 1
- Problemas ao usar wkhtmltopdf HOT 3
- Windows IIS PHP 8.0.12 System error "'""c:\wkhtmltopdf\bin\wkhtmltopdf.exe" is not recognized as an internal or external command HOT 1
- Support for CakePHP version 4.3 HOT 1
- Loading fonts on CakePHP 4 from Google Fonts HOT 1
- Linux server cannot run direct /usr/bin/wkhtmltopdf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakepdf.