Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • tiagovaz

    (@tiagovaz)

    Ah, for tag group ordering i had to change something else. I’ve added two new functions and then using uksort instead of ksort. You can see my file here and replace yours:

    https://paste.debian.net/415537/

    I’m using this extension here: http://revuemusicaleoicrm.org/liste_mots_cles/

    See the ‘é’ before ‘e’. It was in the very end before my changes.

    tiagovaz

    (@tiagovaz)

    Hi, I’ve got the same issue with French language. After some debugging I noticed that the arrays were sorted correctly *before* this code:

    /* ===== this helps sort non-english characters ===== */
    if($show_pages == “yes” || $show_posts == “yes”){
    uasort( $tags, create_function(‘$a, $b’, ‘return strnatcasecmp($a->post_title, $b->post_title);’) ); // addded 09.02.11
    } else {
    uasort( $tags, create_function(‘$a, $b’, ‘return strnatcasecmp($a->name, $b->name);’) ); // addded 09.02.11
    }

    So, in some way this seems to UNsort words with non-english characters 🙂

    Removing this code solves the problem. The file to be changed is “multi-column-tag-map/mctagmap_functions.php”.

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)