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');
}