Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 30.11.2004, 18:21   #1 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Posts: 5
swalian is on a distinguished road
Lightbulb Page Title Bugs???

I thinks the page title have a bug, if we in the homepage (frontpage), the page title will show "Home - Website Name", if we click other menu the menu title always show in the page title, example: "News - Website Name", "Contact - Website Name", etc, etc.
Also if we click in the content item details, the content item title will show in the page title.

I see the script in the includes/mambo.php, function setpagetitle:
//--------
function setPageTitle( $title=null ) {
if (@$GLOBALS['mosConfig_pagetitles']) {
$title = trim( htmlspecialchars( $title ) );
$this->_head['title'] = $title ? $title . " - ". $GLOBALS['mosConfig_sitename'] : $GLOBALS['mosConfig_sitename'];
}
}

----------//

the = (equal) in the "$this->_head['title'] = $title ...." is just one = (equal).
I think the correct script must have two = (equal).
So the right script is:
$this->_head['title'] == $title ? $title . " - ". $GLOBALS['mosConfig_sitename'] : $GLOBALS['mosConfig_sitename'];

Is that right?

Or any other way to hide the "Menu Title" in the page title??

thanks,

Stephen
swalian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 30.11.2004, 18:33   #2 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 4
BjornB is on a distinguished road
Default Re: Page Title Bugs???

Login as Admin.

Global Configuration ---> SEO ---> Dynamic Page Titles: NO
BjornB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.11.2004, 18:42   #3 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Posts: 5
swalian is on a distinguished road
Thumbs up Re: Page Title Bugs???

You are right, thanks.
Why I didn't notice the function in the global configuration?? I must make my eyes bigger
swalian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Page Title not working divamissx Mambo 4.5.1 'How Do I' Questions 4 03.02.2005 02:51
4.5.1a hide page title loses edit icon TerryG Mambo 4.5.1 Bugs 1 08.12.2004 07:07
change of page title only for home page? mhutchin Mambo 4.5 'How Do I' Questions 2 20.10.2004 14:54
different title only for home page? mhutchin Mambo 4.5.1 'How Do I' Questions 0 11.10.2004 04:09
Custom Page Title dezomat Mambo 4.5 'How Do I' Questions 7 20.09.2004 02:27


All times are GMT +2. The time now is 12:38.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.