How to remove sitename ?

poseidon123 - June 13, 2008 - 00:16

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 ?

ok, I just realized sitename

poseidon123 - June 13, 2008 - 00:25

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 ?

Edit the page.tpl.php files.

ananto - June 13, 2008 - 02:17

Edit the page.tpl.php files.

Just like what Ananto said,

zapikoe - June 16, 2008 - 10:03

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

save life

sharu123 - June 16, 2008 - 10:25

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

change in page.tpt

sl_hemanth - June 16, 2008 - 11:14

change the site name in template page

ok got it :) For others,

poseidon123 - June 16, 2008 - 17:47

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

 
 

Drupal is a registered trademark of Dries Buytaert.