jDownloadsownloads.com

Author Topic: Latest Downloads Module Layouts  (Read 164 times)

0 Members and 1 Guest are viewing this topic.

Offline soundcore

  • Newbie
  • *
  • Posts: 3
Latest Downloads Module Layouts
« on: 04.06.2021 15:29:04 »
Hello,
I have been trying to display the "Latest Downloads" in a customized way. I have been doing it in two ways but facing issues.

1. The Latest modules displays in a single column. I want to display the files in 3 or 5 columns. (I tried changing the layout in content plugin options but that didn't help).

2. I used "{jd_file onlinelayout==Files link only (2)}{jd_file latest==5}" in a custom module (content prepared) and this seems to give me what I want, but the image, attached to the download don't show up instead the path shows up. Photo attached.

Also, are these the easiest ways to display the latest downloads in a module in multiple columns? I couldn't find a sample layout for 4 columns in downloads (I see it in categories, would it be the same?)
« Last Edit: 04.06.2021 15:31:12 by soundcore »

Offline soundcore

  • Newbie
  • *
  • Posts: 3
Re: Latest Downloads Module Layouts
« Reply #1 on: 04.06.2021 17:29:06 »
Sorry forgot to add, this is how my layout looks like:

<div class="jd_files_oneline" style="">{file_pic}{thumbnail}{file_title} </div>

Offline ColinM

  • Moderator
  • *
  • Posts: 4.029
Re: Latest Downloads Module Layouts
« Reply #2 on: 05.06.2021 22:03:56 »
Hi,
The Modules are really intended to appear in a side bar!  So have not been organised as multi column.  Are you intending to show in the main panel?

I have made a Downloads layout called'Files link three col. with code as below and with the parameter "Number of columns in layout" set to 3.

Code: [Select]
<div class="jd_files_oneline " style="width: 30%; margin:5px 0;">{file_pic}{file_title}</div>Now to ensure we have the Top Downoads, that is those Downloads most Downloaded, set up a jD Menu item type of List all Downloads.  Give this a title of say 'List Top Downloads' and most importantly on the 'List Layouts tab' set option 'Downloads Order' to 'Most Hits/Downloads'
Result is shown in pic
Colin

Offline soundcore

  • Newbie
  • *
  • Posts: 3
Re: Latest Downloads Module Layouts
« Reply #3 on: 06.06.2021 00:15:10 »
Thank you for the reply Colin. That resolved it.

Also my second issue. I just didn't read the documentation clearly. Re-looked at it and now have everything in place with your help. Thank you so much :)