Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: PDF to view in browser, not download
Thank you, @jakob! Is there any method to override this without editing publish.php, like a plugin or something?
I have barely enough wits to create the most basic plugin, but does output_file_download() have any kind of wiggle room if someone with PHP chops wanted to try?
Edit: I see that there the method includes callback_event('file_download')
, and the Core callback list explicitly says it can intercept a file download. So I guess my question is, if such a plugin does not exist, is there dummy plugin code somewhere I can copy that shows how to use a callback from a plugin to do something like this?
Thanks again!
Last edited by johnstephens (2015-12-22 21:27:31)
Offline
Re: PDF to view in browser, not download
MisterX wrote #297698:
Have you installed flash player?
I test the site in one browser that includes Flash, but nothing on the site depends on Flash. I’m very cautious about Flash’s security vulnerabilities. Why?
Offline