Expertwebadvisor

  • Magento 2
  • PHP
  • WordPress
  • MySQL
  • SEO
  • Java Script
  • Others
  • Top 10’s

“Customer Login” Page Title Problem In All Pages In Magento

By Expertwebadvisor | Last Updated: February 12, 2013 | In: Magento


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.
“Customer Login” Page Title Problem In All Pages In Magento

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.

Tags:Customer Login Page Title,Magento


Related Posts

  • Get Store Email Addresses in Magento Get Store Email Addresses in Magento
  • Find Exact Phrase Or Word In Quick Search In Magento Find Exact Phrase Or Word In Quick Search In Magento
  • Change Admin URL of the Existing Magento Store Change Admin URL of the Existing Magento Store
  • Magento Compiler, Enabling, Disabling the Compiler Through The Admin Panel In Magento Magento Compiler, Enabling, Disabling the Compiler Through The Admin Panel In Magento
  • Be Social, Share Us Here !!

  • Looking For Something !!

  • Popular Categories !!

    • Magento 2 Guide and Tutorials
    • Home Loan EMI Calculator
    • Car Loan EMI Calculator
    • Personal Loan EMI Calculator
    • Magento Guide & Tutorials
    • PHP Tutorials
    • WordPress Tutorials
    • SEO Tutorials
    • MySQL Guide
    • Opencart Tutorials
    • Linux/Ubuntu Guide
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Facebook
  • Twitter
  • DMCA.com Protection Status

Recent Posts

  • PHP array_​diff_​key Function
  • PHP array_​diff_​assoc Function
  • PHP array_​diff Function
  • PHP array_​count_​values Function
  • PHP array_​combine Function

Welcome to my Blog

Thanks for visiting my Blog, I have started this blog before 8 years ago and sharing my own experience, problem and solutions while working on the different type of projects. Enjoy the reading and don't forget to Facebook likes, Tweets or G+. You can also write me expertwebadvisor@gmail.com
© 2013 - 2025 Powered By
Top