Question

where to edit and the find the source code of this.As magento codes are difficult to understand.

enter image description here

Was it helpful?

Solution

There might be a better way to do this but this should get you there: Magento\app\design\adminhtml\default\default\layout\main.xml

Line 57

<action method="setTitle" translate="title"><title>Magento Admin</title></action>

OTHER TIPS

Yes, if you wish to edit title then you can edit it from Magento admin simply with

<title>
< ?php echo ($this->getForcedTitle()) ? Mage::getStoreConfig('design/head/title_prefix').' '.$this->getForcedTitle().' '.Mage::getStoreConfig('design/head/title_suffix') : $this->getTitle() ?>
</title>

or if you don’t wish to use title prefix/sufix added from Magento admin, simply with

<title>
< ?php echo ($this->getForcedTitle()) ? $this->getForcedTitle() : $this->getTitle() ?>
</title>

and now just set “forced” title for pages through layout files

<reference name="head">
<action method="setForcedTitle"><title>Account Dashboard</title></action>
</reference>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top