jDownloadsownloads.com


Author Topic: Create download layout - change Dropdown "Select Category" [solved in jD 3.2.60  (Read 8014 times)

0 Members and 1 Guest are viewing this topic.

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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.

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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

Offline ColinM

  • Moderator
  • *
  • Posts: 4.181
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

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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?

Offline ColinM

  • Moderator
  • *
  • Posts: 4.181
Hi
Quote
Once 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

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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.

Offline terrybee

  • Newbie
  • *
  • Posts: 1
    • High quality backlinks
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
« Last Edit: 08.04.2018 17:26:28 by terrybee »
Thanks so much and read more backlink service     Thanks so much and read more backlink chat luong

Offline ColinM

  • Moderator
  • *
  • Posts: 4.181
Hi
We are now up to version 58.
You wrote
Quote
only 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

Offline Arno

  • Administrator
  • ***
  • Posts: 12.622
    • jDownloads.com
@ ciklon
Quote
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"
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!

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
Thank you Arn?,
I hope you will fix this problem soon.Will It be possible the categories will be sorted alphabetical?
« Last Edit: 11.04.2018 14:46:45 by ciklon »

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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
« Last Edit: 27.04.2018 01:13:24 by ColinM »

Offline ColinM

  • Moderator
  • *
  • Posts: 4.181
Hi
Will Check out
Colin

Offline Arno

  • Administrator
  • ***
  • Posts: 12.622
    • jDownloads.com
@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!

Offline ciklon

  • jD Tester
  • *
  • Posts: 89
    • CiklonElectro
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"

Offline ColinM

  • Moderator
  • *
  • Posts: 4.181
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