Loading...
 
Skip to main content

Custom Share Module 0.1dev

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.

Upcoming Events

1)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3) 
Tiki birthday
4)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting