Including a license in a Download -December 2024

Introduction

A license may be associated with a Download and a user may optionally be asked to accept a license before being able to download.

There are seven licenses as standard and additional licenses may be added.

Please note any enforcement of a license is solely the resposibility of the website owner or operator.  jDownloads just provides the facilities and can take no part whatsoever in enforcing the terms of the licence.

License types

The six standard licenses may be grouped into two classes. There is also a seventh license, the Commercial license, which is a blank one for testing your own license.

1. Those that are linked to a document such as the GNU/GPL, GNU/LGPL and the Creative Commons licenses.  A Description may also be included in these licenses. These licenses cannot be modified.

2. Those that only have a description  that contains the text of the license, examples are Donationware, Linkware and Charityware.  The text may contain HTML code.

To access the licenses view go to the main Joomla! menu panel click onV4 button components then click onV4 button jdownloads.  Next click on V4 button licenses. This opens up the panel of licences as shown opposite.
licence listing

Adding a License to a Download

Adding a licence to a Download can be carried out in the Frontend or the Backend.

Adding a license in Backend

 When creating or editting a Download in the Backend then selection is in the panel on the righthand side of the general tab tab as shown in the first image on the right. Scroll down to find it,

There are two parameters. The first is selecting which license to use and the second is deciding if the user must confirm acceptance.

To select the license use the Select pulldown which lists the various licenses as shown on the far right.  Click on the one required as illustated in the image on the far right.
To ensure that the user has to accept the license then set the 'Confirm License' to Yes.
licence 12If you leave it at No then the user may simply ignore the License.
V4 options license and confirmV4 pulldown select license

Adding License in Front End

When editting an existing Download in the Front End select the relevant Download from a menu item such as List all Downloads.  Obviously you will need to login and have edit permission as shown by the edit pencil icon V4 button edit pencil.  If you are creatng a new download then use the  V4 button add button

In either case click on the additional data tab tab. Scroll down to find  the options License Select and Confirm as shown in the first image on the right. Use the Select pull dow to choose the license as shown on image to the far right.
To ensure that the user has to accept the license then set the 'Confirm License' to Yes.
V4 option confirm licenseIf you leave it at No then the user may simply ignore the License.

V4 options license and confirmV4 pulldown select license

Front End View

The license 'acceptance' occurs in the Summary view which will be automatically shown if you have selected 'Confirm License' as Yes.

The license as shown in the Summary differs depending whether the license is a  Description type, as shown immediately opposite, or a Link type as shown on the far right.

Whilst the V4 button download button is shown it remains inactive until the license is accepted.  There is a 'Back' button to take the user back to the Downloads Detail view.

licence 22licence 25

Creating a New License/Editting Existing License

Licenses are accessed in the backend by clicking on button licenses  .
This shows a panel like the one opposite.

To edit an existing license then just click on its title.

A license may have a link and a description but if it does have a link then that takes precedence.

Generally link type licenses are used with what might be refered to as an 'established' or generally accepted licence.

licence 30

Clicking on the new button gives a view as shown opposite

If a link is present jDownloads uses it as the license location otherwise it just shows the description.

Give the license a Title.  If it is a Link type licence then paste the link in the 'Link to License' field.  Then Save and Close.

An example of a Description license is shown below.
add license01
To enter the description just type in the text as if you were writing an article with any appropriate colours, images and so on.

The view in the Editor of an example is  shown opposite. 





The equivalent code generated is illustrated opposite.

add license02add license03
Assuming you have selected the the license must be accepted, then the view as it would appear in the front end is shown opposite.


The Download button is inactive until the user 'ticks' the I accept box. 
add license04

ColinM October 2020 updated July 2021, April 2023, July 2023

Print Email

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.