Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Wrong link in discussion pages

edited April 2011 in Vanilla 2.0 - 2.8
Why do I have wrong links in discussion pages?
At the beginning the link was to the appropriate category. And now it's the link to the home page (All Discussions). How to restore it?

Comments

  • Options
    edited April 2011
    I found mistake.

    In config.php

    $Configuration['Vanilla']['Categories']['Use'] = '1';

    If replace it

    $Configuration['Vanilla']['Categories']['Use'] = TRUE;

    it's works normally.

    I don't know why '1' but not TRUE.

    In file /applications/vanilla/views/discussion/index.php need TRUE?

    if (Gdn::Config('Vanilla.Categories.Use') === TRUE) {
    echo Anchor($this->Discussion->Category, 'categories/'.$this->Discussion->CategoryUrlCode);
    } else {
    echo Anchor(T('All Discussions'), 'discussions');
    }
Sign In or Register to comment.