Totara Learn Open Discussions

Controlling how pdf's open

 
ConcannonTom
Controlling how pdf's open
ConcannonTom 发表于 2021年01月19日 Tuesday 10:40
 

We are in the process of moving from an old Totara site (2.9.51) to v13.

During testing one feature really bugged me. We still have some pdf content. In the previous version they open straight away within the browser (Chrome). Appearance was set to "Automatic". 

When we migrated the courses to the new test site it forces download every time whether I have the appearance set to  "open", new window , embed, pop-up etc. This makes the user experience really bad and shared  computers are going to end up with multiple copies of learning documents downloads in random folders.

Anyone got any advice for me on creating a good user experience with pdf content.

Our Totara partner say it's to do with browser settings but I have hte two sites open in the same browser.

Thanks in advance


Craig Eves
Re: Controlling how pdf's open
Eves (Totara Support)Craig 发表于 2021年01月19日 Tuesday 14:52
小组 Totara

Hi Tom

PDFs opening via download is default behaviour in Totara 13, no matter what a file resource's setting is. This is because PDF display is a known security risk in some browsers.

For a file activity, to reenable the ability to embed a PDF or have it open in the browser, go to Site administration > Plugins > Activity modules > File and tick the 'Allow PDF embedding' checkbox.

Regards



ConcannonTom
Re: Controlling how pdf's open
ConcannonTom 发表于 2021年01月21日 Thursday 03:39
 

Thanks so much Craig,

That's working perfectly again.