News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Category List

Started by tcjay, 04.02.2021 19:03:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tcjay

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.com.  8)
  •  

ColinM

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
Colin M
  •