jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Topic started by: pedders on 07.12.2020 21:41:59

Title: Changing the layout for a download
Post by: pedders on 07.12.2020 21:41:59
I cant seem to work out how to use different layouts, Im sure in the old version when inserting a link into an article you could choose an option or put something in the syntax eg. somewhere in this:
{jd_file file==126}
what layout to use.
Sometimes i just want the file Icon and link, i had this layout setup in the previous version but cant for the life of me remember how i did it.
Title: Re: Changing the layout for a download
Post by: ColinM on 08.12.2020 10:43:48
Hi
It is
jd_file onlinelayout=='layout name'
eg the code would look like<div>{jd_file onlinelayout==Files link only}</div>

For more info please seehttps://www.jdownloads.net/documentation-for-v3-9/modules-plugins-v3-9/using-the-content-plugin-in-articles-and-modules
Colin