jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: webenhanced on 27.12.2023 10:25:26

Title: multiple file formats for same download
Post by: webenhanced on 27.12.2023 10:25:26
I have an eBook in ePub and PDF format and I would like to offer both formats for download.

Can this be done in one entry?

I've search here and through the docs and cannot see where this can be achieved. Is it possible, or do I have to create a download for each file format?

Happy new year folks.
Title: Re: multiple file formats for same download
Post by: ColinM on 28.12.2023 12:50:31
Hi
jDownloads supports just one type of file in an individual Download. 
This of course could be a zip file that contains multiple files, such as an epub and a pdf.

Alternatively you could use one of the Download layouts that uses check boxes.  This allows a user to select multiple Downloads which are then combined into a tempoary zipfile by jD and downloaded.

Colin
Title: Re: multiple file formats for same download
Post by: webenhanced on 29.12.2023 00:24:35
Thanks for the reply Colin,

Putting both formats into a single zip is a good idea.

With the checkbox layouts, would that mean I'd have to create two downloads (one for each format) with their own description and them display them in a group somehow?

cheers, graham
Title: Re: multiple file formats for same download
Post by: ColinM on 07.01.2024 22:26:31
H
Yes with Checkbox layout create a subcategory with the two separate layouts.
Then add a menu item that lists that subcategory. The SUBcat could of course have several 'pairs' of epub and pdf dowwloads.  Ensure you use same name so they list together
 For example "Drake Voyage-epub version" and "Drake Voyage-pdf version"

Then in the backend Options set FrontEnd - Default Sort Order section, set the Downloads sort order to Title Alphabetical

Colin