Order categories/subcategories by User Upload

Phoca Download - download manager
mengana
Phoca Member
Phoca Member
Posts: 32
Joined: 15 Apr 2012, 13:31

Order categories/subcategories by User Upload

Post by mengana »

Hi,
categories and subcategories in frontend when the user wants to upload documents (user Upload) are not shown in the drop-down menu in the desired order.
Example: I have the following categories and subcategories (ordering number in brackets): (Example A)
1- Vorstand Dokumente (ordering number 1 => main category)
1.1- Protokolle (ordering number 1 inside Vorstand Dokumente)
1.2- Pendenzen (ordering number 2 inside Vorstand Dokumente)
1.3- Mitgliederstatistik (3)
1.4- Datenbank (4)
1.5- Backups (5)
1.6- Diverses (6)
2- Vorstand/Sektionsleiter Dokumente (ordering number 2 => main category)
2.1- Protokolle (ordering number 1 inside Vorstand/Sektionsleiter Dokumente)
2.2- Mitgliederstatistik (2)
2.3- Datenbank (3)
2.4- Diverses (4)

In drop-down menu the categories and subcategories are shown regarding the ordering number no matter if they are categories or subcategories, for example, first all 1, then 2, etc, etc as follows:
1.1- Protokolle (1)
2.1- Protokolle (1)
1- Vorstand Dokumente (1)
1.2- Pendenzen (2)
2.2- Mitgliederstatistik (2)
2- Vorstand/Sektionsleiter Dokumente (2)
1.3- Mitgliederstatistik (3)
2.3- Datenbank (3)
1.4- Datenbank (4)
2.4- Diverses (4)
1.5- Backups (5)
1.6- Diverses (6)

I tried changing the ordering number in the category view as follows (with a correlative number:
1- Vorstand Dokumente (1)
1.1- Protokolle (2)
1.2- Pendenzen (3)
1.3- Mitgliederstatistik (4)
1.4- Datenbank (5)
1.5- Backups (6)
1.6- Diverses (7)
2- Vorstand/Sektionsleiter Dokumente (8)
2.1- Protokolle (9)
2.2- Mitgliederstatistik (10)
2.3- Datenbank (11)
2.4- Diverses (12)
but after saving the values were set again to the original ones. Any idea how I can solve the problem? Many thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order categories/subcategories by User Upload

Post by Jan »

Hi, see similar post in this forum, in admin, there is a tree created by traversal function but in frontend there are only some of the categories accessible or set for the user - so there cannot be used the same function as in admin - admin can view all the categories - so the tree can be done, but in frontend the user is able to see only some of the categories ... but in the tree this cannot be done easily and without any problems for memory, etc :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply