News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Content Plugin alternative title

Started by ghicar, 12.06.2023 18:12:19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ghicar

When using a minimal layout like "Files link only v3.9" on the jDownloads content plugin it would be good to be able to specify an alternative title for the download, that better fits the context of the article that the content button is embedded within.

ie {jd_file file==34 title=="Alternative Text"}.

I experimented with creating a field for downloads and writing a layout using {jdfield 'id'} but I did not manage to get that field to be the clickable link in the content button, it just displayed outside of the link.
  •  

ghicar

Best I have managed, using a field and a custom layout for the content plugin to use is this:

<div class="myClass" >{jdfield 2}{url_download}</div>

I have not found a way to make the alternative title field text to be a clickable link to the download.

  •  

Arno

I work on a second content plugin which insert only a simple download link in the content. Maybe I can add here this option.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ghicar

Quote from: Arno on 13.06.2023 18:40:41
I work on a second content plugin which insert only a simple download link in the content. Maybe I can add here this option.
I would be happy to test anything you do in this area.
  •