In Magento if we are working with the custom theme then the most common problem comes that all the page title displays "Customer Login" for every pages. Even it is not display the Home Page title which we have set into the admin, it only displays the "Customer Login". If you are facing such kind of the problem then follow to steps given below to get rid of such kind of problem.
Step 1. Navigate to the folder app/code/core/Mage/Customer/Block/Form/Login.php
Step 2. Copy the Login.php file from the step first and create a new folder into your local code, which will be app/code/local/core/Mage/Customer/Block/Form/ and Paste there the Login.php file.
Step 3. Search for the code below
protected function _prepareLayout() { $this->getLayout()->getBlock('head')->setTitle(Mage::helper('customer')->__('Customer Login')); return parent::_prepareLayout(); }
Step 4. Now comment the setTitle command line, it will look like as below:
protected function _prepareLayout() { //$this->getLayout()->getBlock('head')->setTitle(Mage::helper('customer')->__('Customer Login')); return parent::_prepareLayout(); }
Step 5. Now Refresh the cache through the Magento admin as well as the browser cache.
You have done. Hope this will help to some one.