Placemark editing - Category dropdown list

More
4 years 8 months ago #3704 by
Hi!

We have about 40 placemark categories in our website. We have been adding lots of placemarks lately and it is quite time consuming to find the right category from the dropdown list in placemark editing.

The placemark category list is not ordered alphabetically. It seems to be ordered by category id.

I have been trying to figure out where to change the code which does the ordering, but haven't found it. Can you tell me which php file I should edit to order the category list alphabetically in placemark editing?

Thank you.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #3705 by
Hi.

About what category list you talk? In admin panel?
If yes - I use "standard" joomla's call for selecting category - and it shown as hierarchy

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #3706 by
Thanks for your reply

Yes in admdin panel. When I use placemark editing to add new placemark. I attached a picture.


The placemark group dropdown list is ordered alphabetically, but the category dropdown list is oredered by category id.

I want to change the code so that category list is also ordered alphabetically. How can I do this?
Attachments:
Last edit: 4 years 8 months ago by .

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #3707 by
In earliest versions of my component I did it :) (I didn't know how to call "by standard way" category list, and I did a simple list as it done for map lists, group lists.

If you think it's good idea to have ability to select category from simple drop down list sorted by title - I think I can add this feature into component options.

As for your edition php - files, I think you will have difficulties - you need to change 3 file

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites
The following user(s) said Thank You:

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #3708 by
OK. Thanks again.

I think it would be useful to sort this list by title. This feature would probably benefit other users as well.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #3717 by
Hi.

I did new release, and it includes this feature. Check Extension Manager or JED

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

Time to create page: 0.124 seconds

Donate


Go to top