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

0 Members and 2 Guests are viewing this topic.

Offline jjoosse

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

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.


Jan Kees Joosse

Offline ColinM

  • Moderator
  • *
  • Posts: 3.869
Re: Edit download link in content plugin
« Reply #1 on: 28.11.2018 15:46:42 »
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.437
    • 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ß
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!