Tag cloud - tags unsorted

Please report bugs here!

Moderator: Thorsten

Post Reply
j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Tag cloud - tags unsorted

Post by j-prause » Sun Nov 17, 2013 6:42 pm

Hi,
tags in tag cloud are not sorted. Would it be possible to have them sorted alphabetically?
Thank you.
Josef
phpMyFAQ 2.8.2

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Sun Nov 17, 2013 7:49 pm

HI,

change in inc/PMF/Tags.php, line 98 from

Code: Select all

            ORDER BY tagging_name",
to

Code: Select all

            ORDER BY tagging_name ASC",
Will change this in 2.8.3, too. Thanks for the hint.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Re: Tag cloud - tags unsorted

Post by j-prause » Tue Nov 19, 2013 6:48 pm

Hi,
I made the proposed change but tags are still unsorted.
Every time when show All categories the tags in cloud are in different random order.
Josef

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Tue Nov 19, 2013 7:45 pm

Hi,

please try 2.8.3

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Re: Tag cloud - tags unsorted

Post by j-prause » Thu Nov 21, 2013 11:56 am

Hi,
I have upgraded to 2.8.3.
Tags in cloud are still unsorted:

Code: Select all

gedit git home Apache synaptic sudo Netbeans clonezilla password bugzilla software 
nvidia postupy @font-face MySQL github plugin opera root cron partition nastavení 
backup grub Windows commands gparted genealogie Gnome monitor optimalizace 
packages disk změny imaging Gimp upgrade partitions Ubuntu lvm linux zdroje softwaru 
knihy tutorial instalace fonty administrace aktualizace nástroje CSS
bye,
Josef

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Fri Nov 22, 2013 8:40 pm

Hi,

this is strange. What database do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Re: Tag cloud - tags unsorted

Post by j-prause » Fri Nov 22, 2013 9:14 pm

Hi,
Database server:
Server: wm37.wedos.net via TCP/IP
Software: MySQL
Verze software: 5.6.13 - Source distribution
Verze protokolu: 10
User: a37758_guid@10.28.20.28
Character set: UTF-8 Unicode (utf8)

Web server:
Apache
Database client version: libmysql - 5.6.14
PHP Extension: mysqli

What more info do you need?
Bye, Josef

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Fri Nov 22, 2013 9:17 pm

Hi,

is enough, thanks, I'll check it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Sun Nov 24, 2013 2:27 pm

Hi,

found the issue, will be fixed in 2.8.4

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Re: Tag cloud - tags unsorted

Post by j-prause » Sun Nov 24, 2013 3:11 pm

Hi Thorsten,
can we change something in 2.8.3?
In the meantime I visited last twenty one reference links from your page <a href="http://www.phpmyfaq.de/references.php">Who uses phpMyFAQ?</a> and found the following:
(here 'Y' at the end of line means Tags in cloud are sorted, N means unsorted):

Amarillo College ITS (since November 2010 / Version 2.6.11) ... Y
Enciva FAQ (since December 2010 / Version 2.6.11) ... n/a
FAQ Rezotice (since January 2011 / Version 2.7.1) ... N
AcuGIS FAQ (since May 2011 / Version 2.7.1) ... n/a
SMU TechFaq (since June 2011 / Version 2.6.11) ... N
UP-Soft - Software Open Source na U.PORTO (since September 2011 / Version 2.7.7) ... N
DocuWare Support Solution Center (since May 2012 / Version 2.7.5) ... n/a
IT-Service FFM (since June 2012 / Version 2.7.6) ... Y
WebMe.ch - Internet Services (since July 2012 / Version 2.7.7) ... Y
KolayMama Destek (since September 2012 / Version 2.7.7) ... Y
Gameline.at FAQ (since September 2012 / Version 2.7.8) ... n/a
FAQ-Oceania College (since November 2012 / Version 2.7.9) ... Y
Baltic Servers (since March 2012 / Version 2.8.0) ... N
my-it-faq (since April 2013 / Version 2.7.9) ... N
Our Families (since May 2013 / Version 2.8.0) ... Y
Sensor FAQs (since May 2013 / Version 2.7.9) ... Chinese?
UNMC FAQ (since May 2013 / Version 2.8.0) ... N
Tutoriels DOMOTIQUE-STORE.FR (since May 2013 / Version 2.8.2) ... Y
InterMedia Solutions (since July 2013 / Version 2.8.1) ... N
Kleine Webmaster FAQ (since August 2013 / Version 2.7.9) ... N
PrestaPresta (since September 2013 / Version 2.8.2) ... Y

Just in case it might help.
Bye, Josef

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tag cloud - tags unsorted

Post by Thorsten » Sun Nov 24, 2013 4:23 pm

Hi,

well, there was a method to shuffle the tags, that's why you got different results. ;-)

I removed it for now, I'll add a configurable version for shuffe/sorted tags in 2.9

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

j-prause
Posts: 17
Joined: Mon Apr 29, 2013 9:29 pm
Location: Czech Republic

Re: Tag cloud - tags unsorted

Post by j-prause » Fri Nov 29, 2013 11:33 am

Hi Thorsten,
in 2.8.4 the issue is solved - tags in cloud are sorted.
Thank you.
Bye, Josef

Post Reply