First time here? Check out the FAQ!

Revision history  [back]

edit: made this feature to work, but you still have to specify a list of uploaded file types in settings.py file (in the parameter ASKBOT_ALLOWED_UPLOAD_FILE_TYPES, also there is ASKBOT_MAX_UPLOAD_FILE_SIZE - max file size in bytes.

The keyboard shortcut still does not work though (Ctrl-F is probably not a good choice anyway).

This site only accepts pdf attachments.

pdf-test.pdf

edit: made this feature to work, but you still have to specify a list of uploaded file types in settings.py file (in the parameter ASKBOT_ALLOWED_UPLOAD_FILE_TYPES, also there is ASKBOT_MAX_UPLOAD_FILE_SIZE - max file size in bytes.

The keyboard shortcut still does not work though (Ctrl-F is probably not a good choice anyway).

This site only accepts pdf attachments.

pdf-test.pdf

edit: made this feature to work, but you still have to specify a list of uploaded file types in settings.py file (in the parameter ASKBOT_ALLOWED_UPLOAD_FILE_TYPES, also there is ASKBOT_MAX_UPLOAD_FILE_SIZE - max file size in bytes.

The keyboard shortcut still does not work though (Ctrl-F is probably not a good choice anyway).

pdf-test.pdf

edit: made I've added this feature to work, but you still have to specify a list of uploaded file types in settings.py file (in on the parameter ASKBOT_ALLOWED_UPLOAD_FILE_TYPES, also there is ASKBOT_MAX_UPLOAD_FILE_SIZE - max file size in bytes.issue tracker.

pdf-test.pdfNot sure though if you actually can use the same method as the one used for images. The file attachment must be rendered differently in html and if the attachments are to be shown inline (right in the middle of sentences), then markdown parser on the server and the previewer must be modified.

If attachments are shown outside of the post text, then it's a simpler matter, but as far as uploading files goes, it's not a problem. Storing files on disk is more efficient too.