www.jdownloads.com

0 Members and 1 Guest are viewing this topic.

*

    Offline HerKle

  • ***
  • 50
  • Style is poor man's basic right.
    • Alkoholpolitik
Category Listbox
« 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":

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
Kind regards, Herbert
*
Re: Category Listbox
« Reply #1 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


Colin M
*

    Offline HerKle

  • ***
  • 50
  • Style is poor man's basic right.
    • Alkoholpolitik
Re: Category Listbox
« Reply #2 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
Kind regards, Herbert
*
Re: Category Listbox
« Reply #3 on: 17.02.2021 14:16:38 »
Herbert
You wrote
Quote
And: 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
Quote
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"?
Yes a good idea to add to the suggestions
Colin
Colin M
*

    Offline HerKle

  • ***
  • 50
  • Style is poor man's basic right.
    • Alkoholpolitik
Re: Category Listbox
« Reply #4 on: 17.02.2021 14:43:33 »
Quote
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.
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.

Quote
Yes a good idea to add to the suggestions
I will do so.
Kind regards, Herbert