kiklop74 / moodle-local_dompdf Goto Github PK
View Code? Open in Web Editor NEWProvides DomPdf library for Moodle
License: GNU General Public License v3.0
Provides DomPdf library for Moodle
License: GNU General Public License v3.0
Hi,
i have used your plugin in my plugins for export document into pdf, im trying to update local_dompdf but i found a bug, old version with dompdf <75f13c70> was working fine, but new version of plugin with new dompdf library does not work well, the plugin is not loading css file using , in previous version wasnt problem with this.
I tried relative path, absolute path and nothing helped.
Thank for help how to solve this problem.
I found bug, where function for rewrite images does not work with in html editor overridden files.
Moodle is putting atribute time after image url, when are you overriding files in html editor, then rewrite function is giving back not rewritten image src path.
Uploaded and overridden file url:
/draftfile.php/5/user/draft/838522161/image.jpg?time=1685103678494
Stored file url:
@@PluginFile@@/image.jpg?time=1685103678494
Rewritten file url:
@@PluginFile@@/image.jpg?time=1685103678494
Standard moodle images rewrite function file_rewrite_pluginfile_urls() is working for this rewrite.
Hi,
i used DOMPDF before, but i implemeted it into my plugin,
i have problem now, because im using it to export documents to PDF and i am using images from FILE API of moodle.
Can you describe how to use your local plugin?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.