jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Suggestions - Feature Request => Topic started by: ghicar on 12.06.2023 18:12:19

Title: Content Plugin alternative title
Post by: ghicar on 12.06.2023 18:12:19
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.
Title: Re: Content Plugin alternative title
Post by: ghicar on 12.06.2023 20:17:08
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.

Title: Re: Content Plugin alternative title
Post by: 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.
Title: Re: Content Plugin alternative title
Post by: ghicar on 13.06.2023 19:34:30
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.