Loading...
 
Features / Usability

Features / Usability


Re: Trying to install PDF.js

posts: 37

I have Tiki 19.1 installed, and a PDF files saved in a file gallery opens already automatically in a new browser tab. So there is no need to install anything.

Otherwise you could try to change TikiRoot\tiki-download_file.php

Copy to clipboard
if (! $content_changed and ! isset($_GET['display'])) {

Replace by:

Copy to clipboard
if (! $content_changed and ! isset($_GET['display']) and $info['filetype'] != 'application/pdf' ) {


Btw, go the tab 'Packages' in Control panels to install extra packages ( I don't think the way you subscribe is the way to install extra functionality)

There are no comments at this time.