Page 1 of 1
Site title bug.
Posted: Sun May 10, 2009 1:19 am
by Fudeba
In line 1067 shows this:
Code: Select all
<title>'.$settings['gbook_title'].'</title>
Corret is:
Code: Select all
<title>'.$settings['website_title'].'</title>
Posted: Sun May 10, 2009 10:13 am
by Klemen
Nope, actually the
is the correct one, you have this variable in the settings file.
Posted: Sun May 10, 2009 10:01 pm
by Fudeba
Why?
From what I understood, the variable $settings['gbook_title'] is used to display the title inside the page, just below where the top is the header.
$settings['website_title'] is the variable is used to display the title bar of the browser.
If not because the language file are the two variables?
The images below explain better.

Posted: Mon May 11, 2009 6:47 am
by Klemen
The $settings['website_title'] is the title of your main website and $settings['gbook_title'] is the title of your guestbook. For example in my case
$settings['website_title'] would be "PHPJunkyard" and $settings['gbook_title'] would be "PHPJunkyard guestbook".
The $settings['website_title'] is used in the "Back to yourwebsite" link and the gbook_title is used in the <title> tags and as a heading.
Feel free to edit it to any way you want. But having the guestbook <title> the same as your homepage <title> isn't recommended for SEO purposes, each page/part should have it's own title.