jDownloadsownloads.com

Author Topic: Changing the layout for a download  (Read 353 times)

0 Members and 1 Guest are viewing this topic.

Offline pedders

  • Newbie
  • *
  • Posts: 12
Changing the layout for a download
« 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.

Offline ColinM

  • Moderator
  • *
  • Posts: 3.975
Re: Changing the layout for a download
« Reply #1 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