Topic: where can i find this code?

/Dunce hat on

Go to: http://www.rumourwhores.com/board/index.php

Right click on page and view page source:


<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>rw</title>
<link rel="stylesheet" type="text/css" href="style/sibirsky_org.css" />
</head>
<body>


What file can i find this text in? I want to remove the rw.

thanks,
n

Re: where can i find this code?

header.php

<title><?php echo $page_title ?></title>

Re: where can i find this code?

./template/main.tpl?

That rw should be <pun_title> I ~believe~ (someone please correct me, since i'm wrong, before nick reads this smile)

echo "deadram"; echo; fortune;

Re: where can i find this code?

`<pun_title>` is what appears at the top of every page.

Re: where can i find this code?

guardian34 wrote:

header.php

<title><?php echo $page_title ?></title>

I deleted this line, but it made no difference. Should I be editing it some other way?

Re: where can i find this code?

You have to have a title element, even if it's empty (thought what is shown when it is empty depends on the browser)? Hmm, I see you have an image in your header?

How about this? Try replacing this (in header.php)?

$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1>', $tpl_main);

? with this:

$tpl_main = str_replace('<pun_title>', '<h1><span></span></h1>', $tpl_main);

That should stop text from appearing over your image, so that you can set your board title (in the admin options) to whatever you want.

Re: where can i find this code?

cheers. owe you a pint.