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

Changing the layout for a download

Started by pedders, 07.12.2020 21:41:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pedders

I cant seem to work out how to use different layouts, Im sure in the old version when inserting a link into an article you could choose an option or put something in the syntax eg. somewhere in this:
{jd_file file==126}
what layout to use.
Sometimes i just want the file Icon and link, i had this layout setup in the previous version but cant for the life of me remember how i did it.
  •  

ColinM

Hi
It is
jd_file onlinelayout=='layout name'
eg the code would look like<div>{jd_file onlinelayout==Files link only}</div>

For more info please seehttps://www.jdownloads.net/documentation-for-v3-9/modules-plugins-v3-9/using-the-content-plugin-in-articles-and-modules
Colin
Colin M
  •