Wikka Developer Blog

Fresh news from the Wikka Developer Team

Wikka 1.3.1-RC2 released

with one comment

Wikka-1.3.1-RC2 has been posted to fix a showstopper bug that prevents existing users from logging in after upgrading from an earlier Wikka version. As always, keep in mind that this is a beta release, and should not be used in a production environment.

Written by Brian

March 15th, 2011 at 6:27 am

One Response to 'Wikka 1.3.1-RC2 released'

Subscribe to comments with RSS or TrackBack to 'Wikka 1.3.1-RC2 released'.

  1. It looks like there has been an ongoing problem using page names with spaces and listing those page names using a {{category}} command.

    I fixed this by changing the following block of code in the category.php file:

    [code]
    if ($results)
    {
    $str = ":\n";
    if (!$compact) $str .= '';
    else $str .= '';

    $count = 0;
    $pagecount = 0;
    $list = array();

    foreach ($results as $i => $cpage) if($cpage['tag'] != $page) { array_push($list,$cpage['tag']);}
    sort($list);
    while (list($key, $val) = each($list)) {
    if ($count == $col & !$compact) { $str .= ""; $count=0; }
    if (!$compact) $str .= ''.$this->Format('[['.$val.']]').'';
    else $str .= ''.$this->Format('[['.preg_replace( "/Category/", "",$val).'|'.$val.']]').'';
    $count++;
    $pagecount++;
    }
    $str = sprintf(PAGES_IN_CATEGORY,$pagecount,$page).$str;
    if (!$compact) $str .= ''; else $str .= '';
    }
    else $str .= sprintf(ERROR_NO_PAGES,$page);
    print($str);
    [/code]

    lawsonry.com

    11 Apr 11 at 7:09 pm

Leave a Reply