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.

SEO - reverse titles

edited February 2007 in Vanilla 1.0 Help
Hi i have started this http://www.page92.com and was wondering if there was a way to reverse the title bar. e.g currently, App Title - Discussion title. but i would like Discussion title - App Title is there a way i can do this thanks

Comments

  • I'm sure this got a mention somewhere else in the forum, but I cba to search...
  • There's a JavaScript solution to this, but I remember it crashes certain browsers under certain conditions with certain OS and platform combinations.

    I'll look it up if it's still wanted.

    Posted: Monday, 19 February 2007 at 10:25AM (AEDT)

  • well i looked it up... I found some clues, but in the end I trawled the php files to all who would like to do this - check http://www.page92.com to see what these chages look like open up comments.php in the main directory look for $Context->PageTitle = $CommentGrid->Discussion->Name; and replace with $Context->PageTitle = $CommentGrid->Discussion->Name.' - '.$CommentGrid->Discussion->Category; Close and save. Now open themes/head.php Look for <title>'.$this->Context->Configuration['APPLICATION_TITLE'].' - '.$this->Context->PageTitle.'</title> And replace with <title>'.$this->Context->PageTitle.' - '.$this->Context->Configuration['APPLICATION_TITLE'].'</title> Close and save Upload files and your done. Hope this helps :)
  • Worth noting that the first change isnt actually necessary but some people may prefer it. Also any changes to theme files should be done by copying the file you want to change into the themes/vanilla directory to make it upgrade-proof.
  • Can these changes be made into an extension, so they overwrite other themes and work with any styles?
This discussion has been closed.