jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Only Layout issues, examples and ideas => Topic started by: HerKle on 15.02.2021 10:33:28

Title: Category Listbox
Post by: HerKle on 15.02.2021 10:33:28
Hi,
I have two questions when setting "newest" and "hottest" to "yes" in the category list box option on tab "frontend":
(http://jd-cat-listbox.png)
1. Which of the many layouts is responsible for the output?
2. How can I limit the number of shown downloads (eg. 10 instead of all available downloads)?

Thx and kind regards, Herbert
Title: Re: Category Listbox
Post by: ColinM on 16.02.2021 01:16:47
Herbert,
The Category List Box is shown by all layouts.  There is a standard placeholder, {category_listbox}, in the header section.
The List box shows the categories to the defined number of levels but at this time there is no parameter to limit the number of Downloads in the  All, Top and Latest options.  But there is a limit to how many items per page  with the opion 'Number of Downloads to show per page'.
Colin


Title: Re: Category Listbox
Post by: HerKle on 16.02.2021 08:44:12
Thx Colin,
in the options I can define the limits for number of days to evaluate a download as new, the number of hits to define a download as "hot" etc. So why not use these data in cat-listbox as parameters? Maybe I should formulate this under "Suggestion"?

Is there the possibility to use these parameters in a template override or is this process restricted to core files?


And: btw: the button "updated" never appears in the download files list, no matter if I updated a file seconds ago.
Thy again, kind regards Herbert
Title: Re: Category Listbox
Post by: ColinM on 17.02.2021 14:16:38
Herbert
You wrote
QuoteAnd: btw: the button "updated" never appears in the download files list, no matter if I updated a file seconds ago.
When you update you also need to set the "Has it been 'Updated' " field to yes to distinguish between an update and a minor correction to say the description.  This has been in jD since inception  - but maybe it could be reviewed as we have had several enquiries like yours.  Maybe 'invert' the setting so you mark when it is not an update.  Will see what is involved coding wise.  Have added a Suggestion in my name for this.


You also wrote
Quotein the options I can define the limits for number of days to evaluate a download as new, the number of hits to define a download as "hot" etc. So why not use these data in cat-listbox as parameters? Maybe I should formulate this under "Suggestion"?
Yes a good idea to add to the suggestions
Colin
Title: Re: Category Listbox
Post by: HerKle on 17.02.2021 14:43:33
QuoteWhen you update you also need to set the "Has it been 'Updated' " field to yes to distinguish between an update and a minor correction to say the description.
Wow! Never scrolled that far down to notice this button. Maybe it would be better located in the tab "publishing details", where all the date' data are located. But thx, I could now check the layout of "updated" button as well.

QuoteYes a good idea to add to the suggestions
I will do so.