Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file Change order of tags

More
7 years 1 week ago - 7 years 1 week ago #18435 by Brynlee
Change order of tags was created by Brynlee
We are filtering by tags. Is there a way to change the order of the tags? We have 7 tags right now (Special Events, Altamont Sports, Duchesne Sports, Tabiona Sports, Uintah Sports, and Union Sports). We want them to be in the order of:
Sports
Altamont Sports
Duchesne Sports
Tabiona Sports
Uintah Sports
Union Sports
Special Events

Nothing I do seems to affect the order. Our site is not live at the moment and is hosted only on our company server so I can't provide login credentials.

Thanks.
Last edit: 7 years 1 week ago by Brynlee. Reason: Forgot a tag.

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

More
7 years 1 week ago #18440 by HaiND
Replied by HaiND on topic Change order of tags
Hi Brynlee
Thank you for feedback us
I can only help you customize the tag arrangement by id or by name in order from high to low or from low to high
please go to the source: ..\modules\mod_jux_news_wall\helper.php and add code the following code just below line 58
$query->order('t.name ASC');
hope it can help you, If still having problems, please contact us, pleased to assist you
Thanks

Best Regards
--HaiND--

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

More
6 years 11 months ago #18670 by Brynlee
Replied by Brynlee on topic Change order of tags
I added that code, and it works fine until you add your fifth tag. After that it goes out of order and the fifth tag is placed at the front no matter what I do.

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

More
6 years 11 months ago #18675 by HaiND
Replied by HaiND on topic Change order of tags
Hi
Thank you for feedback us
because I is being used to order you to sort alphabet by tag
and really difficult to check it for you because your web is not online
But I think I've guided you right
hope you understand
Thanks

Best Regards
--HaiND--

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

More
6 years 11 months ago #18710 by Brynlee
Replied by Brynlee on topic Change order of tags
I have done exactly what you said. I am attaching a screenshot of the code and screenshots of the module. It's not working. Is there a way I can send a screenshot or do a screen share with you to show you what's going on?

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

More
6 years 11 months ago #18712 by HaiND
Replied by HaiND on topic Change order of tags
Hi Brynlee
Thank you for feedback us
You can send image problem via: prnt.sc/
Hope it will help you
Thanks

Best Regards
--HaiND--

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

Moderators: Jackie
Time to create page: 0.046 seconds
Powered by Kunena Forum