I have unchecked the sitename in admin/build/themes/settings but still all the titles of pages are like this only -

Tiger Woods | Mysitename

I am not sure why its still displaying Mysitename ??? is there any other way to remove it other than hacking the template ?

Comments

Pushkar Gaikwad’s picture

ok, I just realized sitename checkbox is a different thing and has nothing to do with titles of pages. :)

So how to edit the titles of pages so they don't have sitename ?

ananto’s picture

Edit the page.tpl.php files.

zapikoe’s picture

Just like what Ananto said, try to edit the *.tpl.php file

Remark necessary $head_title part, or remove that text from the related .tpl.php

It is located at the <head></head> section

sharu123’s picture

hello poseidon 123
since I searched for it long enough and now I've found it, I want to share with you.
It appears not to be in the forum or the search engine doens't really do its job properly.

here's the trick: delete your site name by just tapping a "space" with your space bar in the field of general settings: administer>settings>general settings.
There is a red star that "probably indicates that you are obliged to enter something but apparently that doesn't really matter too much. The counterpart of this trcik is that you loose your site's name in the windowbar of your browser. Maybe that will affect your Google ratings, don't know.

If someone knows how to get rid of the site's name without this .. bring it on.
*****************************************************
sharu123
Suffering from an addiction. This website has a lot of great resources and treatment centers.
http://www.treatmentcenters.org

sl_hemanth’s picture

change the site name in template page

Pushkar Gaikwad’s picture

ok got it :) For others, change $head_title to $title . and thanks sharu for alternate solution too

ElectricFeel’s picture

I had the same problem, until I came across another post. In the admin view, under Appearance (in Drupal 7), go to your Theme that is enabled and click on "Settings". Uncheck the box that says, Site Name and it will only post your logo (assuming you have that box checked).