Log in

View Full Version : Title tag where to put it so forums still show up?


colochris
03-27-2009, 04:42 AM
Hello to all.

Ok so this is my problem. I have placed my title tag in headinclude of my style. It changes my title yet it does it for every page.

So every page is the same instead of like here when you lick on a thread the title is that thread title. I am trying to get mine like that.

Any help is appreciated

Chris

Lynne
03-27-2009, 02:45 PM
The <title> tag comes default in vbulletin templates. You don't need to add it to the headinclude template. For instance, this is in a default SHOWTHREAD template which makes it unique for every showthread page:
<title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>

Why are you putting it into headinclude instead?

colochris
03-27-2009, 03:23 PM
well the problem is that i set the title at some point, yet I cannot find where and how to change it?

I can set the forum name, yet it still adds whatever I set at some point for the title.

So when I delete the name of the forums it still has some title from some point. So I am trying to tigure out how to change the default title or bbtitle or vboptions.

Chris

Lynne
03-27-2009, 03:38 PM
Well, the title should be showing up in your page source. If you are wondering where it is coming from, you can find the template by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

colochris
03-27-2009, 03:51 PM
<!-- END TEMPLATE: headinclude -->
<title>BowlingBoards.com Bowling Forums,Bowling Reviews,Bowling Help,Tips,Tournaments, Community</title>
</head>

<body>
<!-- BEGIN TEMPLATE: header -->

This is what its showing for my page source, yet the title is places by the $vboptions BBtitle it seems. I just dont see a title tag unless I place one. When I place a title tag it takes over the original title tag, but then it makes every page have the same title.

I know I am bugging you, but I must have set the title at some point, yet cannot find out where to change it.

Lynne
03-27-2009, 04:21 PM
What page is that in? Check the template fro the page because it is probably set in there. There is no vbulletin setting to set the title for every page. I showed you what is in the default SHOWTHREAD template and that will give a unique title to every page. Maybe you have a modification doing it (seo?).

colochris
03-27-2009, 09:39 PM
Ok I found the problem. When I took out the Powered by vb I added a title. That is why I could never find where it was at.

Thanks for all of your help