In page/html/head.phtml template replace default
with
<title>
<?php echo ($this->getForcedTitle()) ? Mage::getStoreConfig('design/head/title_prefix').' '.$this->getForcedTitle().' '.Mage::getStoreConfig('design/head/title_suffix') : $this->getTitle() ?>
</title>
< title >< ? php echo $this->getTitle() ?></ title > |
<title>
<?php echo ($this->getForcedTitle()) ? Mage::getStoreConfig('design/head/title_prefix').' '.$this->getForcedTitle().' '.Mage::getStoreConfig('design/head/title_suffix') : $this->getTitle() ?>
</title>
and now just set “forced” title for pages through layout files
<customer_account> <reference name="head"> <action method=”setForcedTitle”><title>Account Dashboard</title></action> </reference> … </customer_account> |
This comment has been removed by the author.
ReplyDelete