change the page tittle in Magento

Hello Friends

If you want to change the page tittle in Magento then you can use my below method,Which are given as follows:

(1) CMS page: Go to backend and open CMS > Manage Pages. Select page to edit and you can set title in ‘Page Title’ field.


(2) In frontend and any module, you can use xml file to set new title for your page. The syntax is:

<reference name=“header”>
    <action method=“setTitle” translate=“title”><title>Er-Keyur Shah</title></action>
</reference>


 (3) If it does not work, now you should look at your block php file. You might easily find this line:

<?php $this->getLayout()->getBlock(‘head’)->setTitle($title); ?>

Let me know if you have any query




0 comments:

Post a Comment