Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
338 views
in Q2A Core by
In the admin panel there is a check box that allows us to upload pdf file. The problem is I don't how to do it. I tried to upload using the image and flash button but it didn't work. Any body know how to do this

2 Answers

0 votes
by
edited by

My solution.

I don't use the FLASH button. Instead, I use link button.
(The file can be up-loaded also with the link button)
 
But ... Because the Content-Type of PDF was not processed, I modified the program a little.
 
Add 3 lines in qa-include/qa-blob.php (L65).
 
case 'pdf':
  header('Content-Type: application/pdf');
  break;

 

0 votes
by

HI there

That exactly what i want to do.I want o upload pdf files.But i don't know how to do that.I have tried to do that using a PDF processing tool.But it still can not work.I just want to know that if there is any powerful pdf tool which supports to do that directly.Thanks a lot

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

April 20, 2021: Q2A 1.8.6 released!

Categories

...