jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Only Layout issues, examples and ideas => Topic started by: tcjay on 04.02.2021 19:03:59

Title: Category List
Post by: tcjay 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.com.  8)
Title: Re: Category List
Post by: ColinM 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