I'm trying to delete the download button from the file plugin so my users do not download the file but I do not find anything. Would anyone have a tip?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- ChocolateSwing@vagsiarom
ChocolateSwing - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- ChocolateSwing@vagsiarom
ChocolateSwing - 0 likes
You must log in to post replies.Something like this:
in start.php of your theme
You can find this 'button' in mod\file\views\default\resources\file\view.php
But what about direct action to download your file: e.g. http://your_site/file/download ?
Thanks for the help but I did not understand. Until I looked for the reference that you gave but nothing I found ... I wanted to take that download button ... on my network the users do not download the posted file.
Your button is a piece of code:
into mod\file\views\default\resources\file\view.php
You can copy this file from above dir and paste to your own theme/plugin w/o that code, or use hook from my previous reply.
Anyway, users could download files. Additional, you should add this also:
for preventing download file directly from the url
Thank you very much. I got it ... I disabled the line of code that you passed ..