jDownloadsownloads.com


Author Topic: Edit download link in content plugin  (Read 316 times)

0 Members and 1 Guest are viewing this topic.

Offline jjoosse

  • Newbie
  • *
  • Posts: 1
Edit download link in content plugin
« on: 27.11.2018 21:44:20 »
Hello,

On a joomla site which I maintain, I have an article in which a jdownloads category is shown. I do this using the content plugin:
{jd_file onlinelayout==Simple File List}{jd_file category==2}

I have given a group of users rights to edit these downloads in order to upload new files. This works on the normal category display, but in the article page the edit button is missing.

I've changed plugins/content/jdownloads/jdownloads.php  to show an edit button if the user has the rights to edit the download.

Patch and changed file are attached.  Patch is based on the latest version: 3.2.63.

Regards,

Jan Kees Joosse

Offline ColinM

  • Moderator
  • *
  • Posts: 3.704
Re: Edit download link in content plugin
« Reply #1 on: 28.11.2018 15:46:42 »
Hi
This very useful -thank you. And of course it works as it should.Will advise Arno about this suggestion/upgrade.  As we are presently working on the next major jD seies (v3.9) and anticipate a beta release soon I expect your enhancement will go into that version.  Not expecting another jD3.2 version.Colin

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Edit download link in content plugin
« Reply #2 on: 29.11.2018 13:42:06 »
Is done in v.3.9. Thanks!
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!