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.
Altering the Title
This might be too much of a pain to do, but I'll take any suggestions short of creating a static page:
I would like to remove the PageTitle information from the main page (the All Discussions page), but none of the others. I could remove the text from the AllDiscussions language file, but that leaves the - after the forum name in the browser window and removes the title from the board. I could delete .$this->Context->PageTitle. from header.php, but that takes it away from all pages.
Any suggestions?
0
This discussion has been closed.
Comments
function DiscussionGrid_RemovePageTitle(&$DiscussionGrid) { $DiscussionGrid->Context->PageTitle == '' } $Context->AddToDelegate('DiscussionGrid', 'Constructor', 'DiscussionGrid_RemovePageTitle');
<title>'.$this->Context->Configuration['APPLICATION_TITLE'].' - '.$this->Context->PageTitle.'</title>
with<title>'.$this->Context->Configuration['APPLICATION_TITLE'].($GLOBALS['Context']->SelfUrl == 'index.php' ? '' : (' - '.$this->Context->PageTitle)).'</title>