Keyword

Item tags in alphabetical order?

More
15 years 2 months ago #71599 by Freek
Item tags in alphabetical order? was created by Freek
Is it possible to display the item tags in alphabetical order?

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

More
15 years 2 months ago #71600 by FT1
Replied by FT1 on topic Item tags in alphabetical order?
Hi
If you want to help yourself in this just add this line:
$query .=" order by name ASC";
between line 630 and 631 of /components/com_k2/models/item.php

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

More
15 years 1 month ago #71601 by Jim Frewen
Replied by Jim Frewen on topic Item tags in alphabetical order?
I want to be able to show tag items alphabetically too. I have no php experience. My lines 630 and 631 in the following are:

630 }
631 else {

if ($params->get('commentsPublishing')) {
$row->published = 1;
}
else {
$row->published = 0;
}

Is this the right spot to enter the code you mention below? If not, could you please list the actual code where I should insert it.

Thanks.

FT1 said:Hi If you want to help yourself in this just add this line: $query .=" order by name ASC"; between line 630 and 631 of /components/com_k2/models/item.php

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


Powered by Kunena Forum