News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

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.
  •