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.

How can I alter the title of the page

edited March 2007 in Vanilla 1.0 Help
Hi. I wonder if anyone can help. I want to remove the aoto inclusion of the forum title in the Meta title. I'm currently getting this displayed. <title>Green Building Forum - HIPs (Housing Information Packs) and Energy Rating</title> I really want this. <title>HIPs (Housing Information Packs) and Energy Rating</title> In other words, just the subject of the page. Any advice as to were the code is that is adding this would be appreciated.

Comments

  • Someone's been working on this somewhere. Try searching for SEO...
  • MarkMark Vanilla Staff
    Copy this file /path/to/vanilla/themes/head.php

    to /path/to/vanilla/themes/vanilla/head.php

    and change this line:

    <title>'.$this->Context->Configuration['APPLICATION_TITLE'].' - '.$this->Context->PageTitle.'</title>

    to this:

    <title>'.$this->Context->PageTitle.'</title>
  • Gremlins are at it again. I posted a response yesterday and it's nowhere to be found.
  • I dont suppose you could check your server logs in an attempt to get to the bottom of this missing post phenomenon mark?
  • MarkMark Vanilla Staff
    jimw: When did you start losing posts?
    Are you sure you didn't post in a similar discussion?
    Are you the only one this is happening to (this is the first I've heard of it)?

    There was a bug I just resolved that caused posts to not be posted back properly - but you should have received an error when posting.
  • This has happened to me several times. I see my post. I go back to the Discussion and see it there. Then, at a later time, hours or days, it's not there. I think others have had the problem. I never received any errors. I don't need anything else to make me doubt my sanity. I would like to help with this problem if you could tell me what to do.
  • MarkMark Vanilla Staff
    I can't say that's ever happened to me. I also can't think of any reason why it would happen without human interaction of some kind. I'm going to do some tests on the db to see if there are missing ids or hidden comments. Hopefully I'll be able to get to the bottom of it....
  • Thanks. If you need some help from me just let me know. Maybe from now on I'll log the posts I make.
  • MarkMark Vanilla Staff
    edited February 2007
    // Just testing something...
  • MarkMark Vanilla Staff
    edited February 2007
    jimw: Okay, I think I got it. I did a search through the db for missing comment identifiers or hidden comments by you: There weren't any. I did a search through the db for all of your comments between the start of this discussion and your comment saying that there was something wrong. I found a few different discussions, one of which is here: http://lussumo.com/community/discussion/5344/editing-header/#Item_2 Similar topic, you posted in it, but it's not this discussion. You're not losing your mind - you just answered this question in another place :)
  • That's a relief. Thank you. We do get some similarly worded discussions. I'll try to remember that. Maybe we need a quicksort extension to arrange the discussions according to similarity of topic.
  • MarkMark Vanilla Staff
    Well, you could just click on the "participated discussions" link in the panel and see what's going on...
  • I'm not entirely convinced by that but until it happens again where I'm certain I posted somewhere and it disappeared I wont argue :)
  • This has happened to be 3-4 times as well - the missing post thing, not the posting in the wrong discussion.
  • It's happened to me too here on this forum, but I'm sure it's because I hit Back to Discusions instead of Add your comments which are way too close to each other for my liking!

    Posted: Wednesday, 28 February 2007 at 9:54AM (AEDT)

  • Thanks Mark. That's fixed it.
This discussion has been closed.