News:

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

Main Menu
Support-Forum

Changing the layout for a download

Started by pedders, 07.12.2020 21:41:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pedders

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.
  •  

ColinM

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