jDownloadsownloads.com


Author Topic: Category List  (Read 106 times)

0 Members and 1 Guest are viewing this topic.

Offline tcjay

  • Newbie
  • *
  • Posts: 2
Category List
« on: 04.02.2021 19:03:59 »
I am using {jd_file category==2 count==0} in a custom module.  I would like a simple list of the files to be downloaded in the sidebar but instead I an receiving a full blown version of the download page.  How do I control the template used in the modules?  My website is www.planetearthsilk.com8)

Offline ColinM

  • jD Tester
  • *
  • Posts: 3.922
Re: Category List
« Reply #1 on: 05.02.2021 16:44:14 »
Hi
There are two ways
One is to set it in the jD Options  in the Plugins Tab
The other way, which I prefer, is to use

{jd_file onlinelayout==XXXX} where XXXX is replaced the name of the preferred layout such as Files Layout Single Line 3.9  ( you might not have the 3.9 bit in your layouts)
Put this line in the Module before any {jd_file category==2 count==0} or similar.  once set it willl always use that layout.
Please seehttps://www.jdownloads.net/documentation-for-v3-9/modules-plugins-v3-9/using-the-content-plugin-in-articles-and-modulesfor more info
ColinPS you can load down other simple layouts as noted in the article
Colin