Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change default page
This discussion has been closed.
Comments
To test it out you might want to change these lines
while(list($num, $info) = each($Menu->Tabs)) { if($info['Text'] == $Context->Dictionary['Discussions']) { $Menu->Tabs[$num]['Url'] .= 'index.php'; break; } }
To these lines and report back to me
$a = (is_array($Menu->Tabs)) ? $Menu->Tabs : $this->Menu->Tabs; while(list($num, $info) = each($a)) { if($info['Text'] == $Context->Dictionary['Discussions']) { $Menu->Tabs[$num]['Url'] .= 'index.php'; break; } }
It should then disable itself, using a session cookie maybe, otherwise every time the root address is accessed it's going to take people back to the categories page.
That's the simple solution I think.
Posted: Thursday, 25 January 2007 at 7:28AM (AEDT)