Slogan LiveZilla Live Help

How to remove (-) hyphens from Joomla Website Page Titles

I have came across this problem a lot of times and atlast, have fixed it with a core hack. I know,many of you are having the same problem. I mean, you can have problems like seeing the site titles showing two times on the page browser title bar or showing extra (-) hyphens on the start of the page title.

Its very frustrating.

So, here is a good fix,

1. Open your template's index.php or any config php page,which is linking inside your index.php , from where the page title is defined. That code will be something like this,

 $this->setTitle($mainframe->getCfg('sitename') . ' - ' . $this->getTitle());

Just replace it with,

 $this->setTitle($this->getTitle());

Thats it. Its Done!

Comments

Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
button_logo_portfolio
button_quote
button_testimonials

Subscribe Tutorials

Enter your email address:

Paypal Donation

Enter Amount:

Subscribe Joomla Tutorials Newsletter

Name:

Email:


Enter your email address: