Keyword

Order alphabetically BOX TO SELECT CATEGORIES

More
9 years 11 months ago #132972 by Rocio
I'm using k2 tools module set as selection box of categories, which I cant configured to order them alphabetically .

I must say that is selection box of categories and not the list of categories (in that one you have the option to order as you like to)

Thanks,

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #132973 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Order alphabetically BOX TO SELECT CATEGORIES
Unfortunately this is not possible by default.
You can at your own risk edit the function that retrieves the categories.
public static function treeselectbox(&$params, $id = 0, $level = 0)
in modules/mod_k2_tools/helper.php and add ordering.

This post will help you.
www.w3schools.com/sql/sql_orderby.asp

PS. Backup first.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 11 months ago - 9 years 11 months ago #132974 by Rocio
Thanks Krikor for answering so fast!

I will take a look to that

Another thing.. Is there any way to order alphabetically by the introtext of the items? I mean, as you order by the title, order by the introtext instead. Is it possible?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #132975 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Order alphabetically BOX TO SELECT CATEGORIES
To be honest I do no think that this feature is possible.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum