| demo 4 mos_jdownloads_file (change layout) |
|
So far, all the downloads are shown using the default layout, selected in the backend configuration of jDownloads, in the plugins tab. This is nice, but not very convenient. Probably you don't want to use the same layout in all of your articles, especially as soon as you want to show the latest or hottest downloads, to make the article a little bit tighter. So, let's say we have 2 layouts. One called Standard layout with Checkboxes (one of the standard jDownloads layouts I used on the previous demopages as default-layout) and a newly created one called Rounded. With the function onlinelayout you can easily change from one layout to another, inside of an article: With {jd_file file==Sun} you get as expected:
Now for our list with the 5 latest downloads we can add the following: {jd_file onlinelayout==Rounded}{jd_file latest==5} And we will get this:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comments
I have been able to use your layout with some modification.
Again, thank you.
Cath
cxzc
http://sdfsd.com Quote
quote]{url_down load}
So how I do open this Link in a new Window? Quote
Is it possible to have a direct download link so the user stays on the page and gets the document at once? Quote
I gave the link.
It says:
Cannot find the layout Rounded! Quote
I am just wondering, where can I get the rounded layout?
Thanks
Jan Quote
RSS feed for comments to this post.