In files plugin, there is a button that says "Download this". When you click it, it opens a page with just a single file (image or whatever) on it.
How can I wrap some HTML code around it and design this page?
Which file from plugin should I edit?
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
- Brett@brett.profitt
Brett - 0 likes
- Miloš Jeremić@Anarcorder
Miloš Jeremić - 0 likes
- Miloš Jeremić@Anarcorder
Miloš Jeremić - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.Do you want to edit 'Download' button?
Or do you want to edit the 'File' full view page?
Or do you want to edit the downloading process?
Remember, don't modify core. Create plugins to override views.
Let me explain visually:
This is the file view: http://www.mojdizajn.net/file/view/9982/sta-mislite-o-ovome
And this is the DOWNLOAD view: http://www.mojdizajn.net/file/download/9982
I want to edit the second one. To wrap some html around it, and put "back to the site" link...
So, where should I put this html code?
It probably should be in elgg\mod\file\pages\file\download.php, but I've tried everything, and couldn't do nothing.
@Miloš Jeremić
It's a result of the downloading action.
And...