By sgtaw on
Hi,
By default Dupal put your page name and site name in the title separating them with a "|"
So the title is something like -- "My Page Name | domain.com"
I ONLY want the page name. So I removed the domain.com
But I get -- "| My Page Name"
How do I get rid of the "|"
Thanks,
Ed
Comments
Anyone know how to solve this?
Ed Aw
~*
Fruit Vegetable Vitamin - A community of health conscious people.
Someone might!
Yeah, you need to edit your theme engine. If you're using XTemplate, then open up xtemplate.engine and scroll to the xtemplate_page function in there. You should see a key being set for the title:
You can then edit this to remove the " | ", i.e:
Or for phptemplate-based
Or for phptemplate-based themes, edit page.tpl.php and....delete the "|".
Awesome! Thanks!
Ed Aw
~*
Fruits and Vegetables
Bowling Tips
Juice Plus ~ Order Juice Plus
JuicePlus ~ Order JuicePlus
Nutrition and Health Web Site
Christian Marriage Counseling
drupal
On your own or as support, with or without programming or technical knowledge, the benefits of building your website with Drupal PHP are available to you.
****************************************
jeshintha001
Christian Drug Rehab