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.
Wrong link in discussion pages
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?
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?
0
Comments
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');
}