Introduction
It is recommended that you first read article Introduction to jD Content in Articles (opens in a new window/tab)
To access click on
by using the pull down toConfigure jDownloads Content Options
It is recommended that you first read the that article.
Select Default Layout
The first option 'Default Layout' allows you to select which layout to use as the default.
In this example the default Content Plugin layout was set to 'Files link only 3.9' as shown below.


Other Options
Setting to '
Setting '
One of these is the 'Show disabled message?' which, when set to '
The other parameter is about whether to show the original title or a specific message.
Show a truncated Downloads Description is a pulldown specifying how many of the characters in the Short Description are to be shown. The defalt is 0 which actually means that all of the Short Descrpition in the Download will be shown.
Select Download using Content Button
Remembering later what is say Download 48 in
Using Extended Editor-xtd buttons
The first step is to enable the 'editors extended' plugins.
So click on the
Next enable the required plugins, including 'Button- jDownloads Content'. The image opposite shows all the editors-exd have been selected.
Some items such as Page_Break, Media and Menu may not be required, so do not enable them. Basically it is worthwhile experimenting initially to see what you require for your site and its users

Configure Site Editor
Tiny MCE Editor
If you are using the 'Tiny MCE Editor' to edit in the frontend, the view is like the first image opposite.
Clicking on the


CodeMirror Editor
With the CodeMirror editor the buttons appear at the bottom of the edit page.
So to add a Download click on '+Download' to select the relevant Download

JCE Editor
. In this article we use the
tab. Scroll down and ensure (a)Status is Published, Ordering is Default, Area has both Front-end and Back-end set, Device is set as required (actually I tick all three options) and Components is set to All Components. The next item is the User Group

Drag the
When you click on the button during editting it gives a pulldown like the one as shown opposite.

entry. This will then give a view such as opposite, which enables searching for the Download by title.As an example we have selected Download 'Tubes 1', which has an id of 131. This will then generate {jd_file file==131}.
Note the double '=' symbol.
Here the default layout specified in jDownloads
-
The text in the editor view looks like that shown opposite when the relevant Download is selected.

And in the frontend we have the view as shown opposite.
It is only a single line as the selected layout is 'Files Layout Single Line v3.9'.

View in Articles, Modules and Descriptions
Use <div> not <p>

Again the Download and its surrounding text is in a <div> ... </div> block.
Note that the JCE editor may be set to show the type of 'block' element.

In this example the Download layout
is 'Files link only v3.9'

The direct code as entered is shown below.
But in this case there is a line break immediately before the Download link in the front-end view!
Use In Custom Modules
Adding a Download link to a custom module is the mostly the same as adding into an article.

But there is one more action required!
Select the Options tab, then ensure that the 'Prepare Content' field is set to Yes as indicated opposite.

Layout selection
A more flexible solution is to select the required layout in the content itself by using the form: jd_file onlinelayout=='layout name'
For example,
There are two other variations of this layout: 'Files Link and icon' and 'File link icon and featured' layouts. These are available either by downloading from Extra jD 3.9 Download Layouts (opens in a new window/tab) and using the Layouts
The examples below are the views when using a Download whose title is 'decorative products'.
- Files link only -----------------
This is a standard default Downloads layout which comes with jDownloads. - Files link and icon --------------
Never shows the featured star. - Files icon link and featured ---
Only shows feature star if Download is featured.
Some Examples
Individual Downloads
It maybe that the Downloads are to be listed with some text as shown opposite.
Layout "Files link and icon" is used in this example.


Here the Downloads are contained in a <ul> ...</ul> rather than a <div> sequence.
It could of course be an Ordered list by using <ol> ... </ol>.


From Categories
- Show Downloads from a single or several Categories: For example
will list upto 12 Downloads from those categories with IDs 15, 3, 41 and 6. - Listing latest, top and last updated from any category:
lists the 6 most recently updated Downloads selected from the categories with IDs 17, 3 and 15. - Listing latest, top and last updated from multiple categories:
lists the 5 most downloaded Downloads from the categories with IDs 12,13 and 3.
This example shows a listing of all the Downloads in a specific category.
Again the layout "Files icon link and featured" is used.
The code used is simply


And now examples of Latest, Hottest and Updated.
Only the top 3 in each case are shown in this example.
Layout "Files icon link and featured" was used.

With a little more effort the sequential listing could be arranged in columns as illustrated.

In this case the direct code would be as opposite.

Some Technical Details
For example with a file short code such as
then the plugin code itself starts with.png)
the plugin code starts with
This then allows each type of Content plugin to have its own styling. For instance in the three column example above each column could have had its own background colour.For say a Hottest short code
Appendix 1 - Editing Layout
The first step is in the backend go to the
. Next select the Now click on the
button which will create a new layout called
.So edit the title to become
. Edit the layout code layout by adding where indicated by the yellow background to give

Next click on
Whilst the details of the layout are still on screen click on
. This will create a new layout called
so edit the title to become
.The next step is to add the code
to give
where the code has been inserted as idicated by the yellow background.Finally click on the
Appendix 2 - Extended Capabilities
Originally created by Marco Pelozzi -
The plugin is automatically installed/updated when installing/updating the jDownloads component.
Modified and reworked for Joomla 3.x/4.x by Arno Betz - jDownloads.com - 2022-08-16
In the following *DID is the ID number of the Download to be shown, eg 52.
*CIDLIST is a comma separated list of the ID numbers of those Categories whose Downloads are to be shown, eg 3,12.
count==*N is the maximum number of Downloads to be shown from this category or category list. If count==0 is specified then all Downloads in the category are listed.
Show a Single Download: {jd_file file==*DID} eg {jd_file file==31} shows the Download with ID of 31 NB this is the style auto entered by the jD Content Button plugin
Show Downloads from a single or several Categories: {jd_file category==*CIDlist count==*N} eg {jd_file category==15 count==5} will list upto 5 Downloads from the category whose ID is 15.
eg {jd_file category==15,2 count==0} will list all the Downloads in the categories with IDs 15 and 2.
eg {jd_file category==15,3,41,6 count==12} will list upto 12 Downloads from those categories with IDs 15, 3, 41 and 6.
Listing latest, top and last updated from any category: {jd_file latest==*N} {jd_file hottest==*N} {jd_file updated==*N}
{jd_file latest==5} lists the 5 latest Downloads.
{jd_file hottest==4} lists the 4 most popular Downloads.
{jd_file updated==5} list the 5 most recently updated Downloads.
Listing latest, top and last updated only from select categories
{jd_file cat_hottest==*CID1,*CID2,*CID3 count==*N}
eg {jd_file cat_hottest==12,13,3 count==5} lists the 5 most downloaded Downloads from the categories with IDs 12,13 and 3.
{jd_file cat_latest==*CID1,*CID2,*CID3 count==*N} eg {jd_file cat_latest==12 count==3} lists the 3 latest downloaded Downloads from the category with ID 12.
{jd_file cat_updated==*CID1,*CID2,*CID3 count==*N} eg {jd_file cat_updated==17,35 count==6} lists the 6 most recently updated Downloads from the categories with IDs 17 and 35.
Selecting layouts
{jd_file onlinelayout==layout name} you can use this to select the which layout to use when showing Downloads.
That is it is possible to use specific layouts rather than the layout selected in the Configuration - Plugin tab.
Example: {jd_file onlinelayout==Simple File List}{jd_file latest==5 count==3}
return
Colin Mercer February 2019, updated July 2020, May 2023, August 2023, September 2024, April 2025, May 2025
