Jump to content

Embed PDF hide download button


Pete Foulkes

Recommended Posts

Hi all,

Was just wondering if anyone has some code that could hide the download button of the PDF widget?

I do like the presentation mode feature that comes in the same drop-down menu, however, I would be willing to sacrifice this as I suspect it will be too difficult to hide individual menu items rather than the whole menu?

Many thanks in advance,

Pete

 

frogdownloadbutton.png

Link to comment
Share on other sites

A staff member wanted to upload a resource he's purchased onto a site but didn't want others obtaining a copy. There are those who would know how to find the file sure, but the average user wouldn't know. 

If it's external then I'll just tell him it can't be done as it's probably more trouble than it's worth for you guys.

Many thanks

Link to comment
Share on other sites

How about this method:

  1. Add a File Drop widget to the page
  2. Set it to Group instead of Individual
  3. Upload the PDF
  4. On the link provided, right-click and copy the link of the file
  5. Add an HTML widget to the page
  6. Paste the following code:
<embed src="YOUR FILE URL" width="600" height="500" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html">
  • Paste in the URL of the PDF copied in Step 4
  • Delete the end of the URL (this bit in bold):
    https://frog.yourschool.co.uk/app/file/resource/207A2FE3200305070F469F2A58647E050FE85AFCFC230269/?mode=download
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...