Author |
|
aliokero Newbie
Joined: 13 October 2020
Online Status: Offline Posts: 1
|
Posted: 13 October 2020 at 10:43am | IP Logged
|
|
|
Доброе время суток!
Подскажите пожалуйста, как в всплывающем окне при публикации приватной ссылки вывести реальную ссылку на файл в отдельном Input, либо в меню предпросмотра изображений справа. Ознакомился с примером Hello World из документации, но столкнулся трудностями при написанием кода.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 October 2020 at 12:34am | IP Logged
|
|
|
Hello,
A quick hack to get a download link under image preview would require editing modules/FilesTableviewWebclientPlugin/js/manager.js file - after line 91, insert something like:
Code:
$("#files_view_pane").remove('#downloadLink');
$("#files_view_pane").after('<span id="downloadLink">' + newValue.getActionUrl('download') + '</span>'); |
|
|
You'll need to build static files as shown here to apply changes. Note that this will not be a direct link to a file - it'll be rather long link that redirects to file download.
If you require assistance from our developers on modifying source code of the product, it can be arranged in terms of Professional Services contract. Please contact us via HelpDesk if you're interested; in there, we can communicate in Russian.
--
Regards,
Igor, Afterlogic Team
|
Back to Top |
|
|