Change the page title

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dernier_recours
Posts: 66
Joined: Mon 2. May 2005, 17:33
Location: Canada
Contact:

Change the page title

Post by dernier_recours »

Hi,

How can I change the <title>page title</title> to make it static?

Thanks,

dr
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Salut dr,

I think in index.php line 159 (latest cvs DEV 1.2.6)

Code: Select all

$content['page_start'] .="<html>\n<head>\n<title>".$content["pagetitle"]."</title>\n";
replace .$content["pagetitle"].
by ."whatever static title".

Cheers
dernier_recours
Posts: 66
Joined: Mon 2. May 2005, 17:33
Location: Canada
Contact:

Post by dernier_recours »

Thanks!
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Why that????

Go to "Layout" and switch off the "add title" attributes...... :wink:
Pappnase

Post by Pappnase »

helo

here the screenshot :-)

Image
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

My bad... :cry:
Too much hacking here... :? when phpwcms had it solved... :?
Thx pepe and pap'

Cheers
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

delete please

Post by Kosse »

Jesus, I have to take a break...
sorry guys, wanted to edit previous post and posted this crapy one... :oops:
Post Reply