Log in

View Full Version : Title IN SOURCE CODE


rickyreter
02-01-2007, 07:34 PM
Hi,just looked at my home page and no title on my source code how do i do this and correct it?

Peter

peterska2
02-02-2007, 11:19 PM
1. are you using a portal or do your mean the main forum home page?

2. have you edited your forumhome template?

rickyreter
02-03-2007, 08:56 AM
yes im using cmps..not sure on how to edit the title as it missing as per homepage source.

www.cartalkuk.co.uk

Any ideas on how to edit that or add

Peter

Dismounted
02-03-2007, 09:45 AM
Edit the CMPS's templates.

rickyreter
02-03-2007, 10:40 AM
Sorry for sounding thick how do i do that?

adv_portal and this:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>

</head>
<body>

$header

$navbar

<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">

<if condition="$show['left_column']">

<td width="$vba_style[portal_leftcolwidth]">

$home[leftblocks]

</td>

<!-- Spacer Cell -->
<td width="$vba_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[portal_colspacing]" /></td>
<!-- / Spacer Cell -->

</if>

<if condition="$show['center_column']">
<td valign="top">

$home[centerblocks]

</td>
</if>

<if condition="$show['right_column']">

<!-- Spacer Cell -->
<td width="$vba_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[portal_colspacing]" /></td>
<!-- / Spacer Cell -->

<td valign="top" width="$vba_style[portal_rightcolwidth]">

$home[rightblocks]

</td>
</if>

</tr>
</table>

$footer

</body>
</html>

Dismounted
02-04-2007, 05:39 AM
Find:
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>
Replace With:
<title>$vboptions[bbtitle]<if condition="$pagetitle"> - $pagetitle</if></title>