News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Create download layout - change Dropdown "Select Category" [solved in jD 3.2.60

Started by ciklon, 25.07.2017 00:30:40

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ciklon

Hi,
"Category select box" does not comply with the rights of the categories: for regular registered user displays all the categories together with those that he is not allowed to see. This is noticed in versions 3.2.55, 3.2.56.
Also, categories can not be sorted alphabetically when this option is selected in the configuration.
  •  

ciklon

Hi, if selected the option "Frondend / Categories default sort order / Title Alphabetical" categories are not sorted alphabetically in the "Category select box" on the pages "Submit File" and "Edit Download". This is valid for the versions: 3.2.56 and 3.2.57

Any solution for this issue?

Best Regards
  •  

ColinM

Hi
Earlier you wrote
Quote"Category select box" does not comply with the rights of the categories: for regular registered user displays all the categories together with those that he is not allowed to see.
That is actually the correct Joomla! behaviour as what you see depends on the view Access level.  Unlike the permissions this does not cascade down the chain.  Whist there is no access the site may wish users to view the category description or similar so that the user may wish to register.

Quote"Frondend / Categories default sort order / Title Alphabetical" categories are not sorted alphabetically in the "Category select box" on the pages "Submit File" and "Edit Download"
The category sort order is by each  category 'level' in turn. That is initially by top level categories, then within that by the first sub cat and so on.  The 'level' is indicated by the number of '-' characters shown to produce a nested look.

Colin
Colin M
  •  

ciklon

Hi

Once there are hidden categories for some groups why these categories should be visible to everyone in the list when uploading a file?
Once I have chosen an alphabetical order, why there be a difference in the lists of categories?

[gelöscht durch Administrator]
  •  

ColinM

Hi
QuoteOnce there are hidden categories for some groups why these categories should be visible to everyone in the list when uploading a file?
In your User Groups Settings you have allowed the Front End  'uploader' UG to be able to select the Category into which the the Dowload should be located.   Or if you are using the menu item Create Download then you can select whether that menu item selects a single category or all categories. It is assumed that 'uploaders' are to be trusted.
Colin
Colin M
  •  

ciklon

Hi Colin,
The "default access view level" option in the administration applies only to the "Access" field, but does not apply to the category list in the "Create / Edit Download"





I've set all groups to upload files, but the idea is this:
- Categories have different access depending on the groups
- When a users wants to upload files can see a list of categories depending on the group they belong to (As is organized to display the categories in front end of the component).
- In 2000 categories, if not sorted alphabetically, is it easy to choose a category ?!
- - It may be good to list of categories in Create / Edit download and the listbox in header to do cascading dropdown like :
https://www.jqueryscript.net/demo/Easy-Ajax-enabled-Dependent-Dropdown-Plugin-With-jQuery-ssdCascadingDropDown/
https://www.jqueryscript.net/demo/Dynamic-jQuery-Cascading-Dropdown-Lists-Plugin/

First dropdown menu - top level of categories
Second dropdown menu - second level categories, etc.
  •  

terrybee

There is a complication compared to earlier versions as only those categories where the user group has create/edit permissions are shown.  Presently not sure if a bug or a suggestion
You could fix it in next version 3.2.53
Thanks so much and read more backlink service     Thanks so much and read more backlink chat luong
  •  

ColinM

Hi
We are now up to version 58.
You wrote
Quoteonly those categories where the user group has create/edit permissions are shown
Yes that is the intention. Basically if the user belongs to a particular UG should they be able to provide links to other Downloads? View Access is not a viable option as that is often, for example, Public view.
Colin
Colin M
  •  

Arno

@ ciklon
QuoteThe "default access view level" option in the administration applies only to the "Access" field, but does not apply to the category list in the "Create / Edit Download"
Sorry but this is a bug. Normally should only be listed the categories where the user has view access. I hope I can fix this shortly.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ciklon

Thank you Arn?,
I hope you will fix this problem soon.Will It be possible the categories will be sorted alphabetical?
  •  

ciklon

Hi, Arno
The bug issues :
1. The "default access view level" option in the administration applies only to the "Access" field, but does not apply to the category list in the "Create / Edit Download"
2. "Frondend / Categories default sort order / Title Alphabetical" categories are not sorted alphabetically in the "Category select box" on the pages "Submit File" and "Edit Download" are solved in jD v.3.2.60.

But another bug occurred - The list of categories in the frontend is not sorted by setting "Frondend / Categories default sort order / Title Alphabetical"

Edit changed line spacing for clarity Colin

[gelöscht durch Administrator]
  •  

ColinM

Colin M
  •  

Arno

@ciklon,
I cannot see any mistake on your first pic. And on the second are listed sub categories NOT Downloads. The selected sort order on the top has nothing to do with the order from the sub categories.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ciklon

Hi Arno,

First pic: category list box on  "Create / Edit Download" page - this is solved bug ( without mistake).
Second pic: sub categories dont listed alphabetical.

Attached screenshot from setting "Categories default sort order"


[gelöscht durch Administrator]
  •  

ColinM

Hi
The category structure is a tree so the alpha sorting in alphabetical within each category.  When a sub category occurs that is sorted alphabetically and appears after its parent category. This is a recursive process for each category level.  The sorting used on the page is the same as in the pulldown as shown in the pic of a pulldown list below.

To sort the categories ignoring the tree structure would be very strange. What would one do with two subcategories with the same name but different parent categories? For example one might have a Category called Mobile Phones with a sub category Samsung and another Category could be TVs again with a sub category Samsung.

Another navigation aid you might consider is to show the traditional Breadcrumbs display such as illustrated in the second pic.  This does track where we are.

Yet another approach might be to use the Tree module as this gives a reasonable overview of the category structure. This is illustrated in the third picture.  A user can go direct from the tree to the any category.  The tree can show the number of sub categories and Downloads.
Colin

[gelöscht durch Administrator]
Colin M
  •