Take the 2-minute tour ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.
$title = $product->getMetaTitle();
if ($title) {
   $headBlock->setTitle($title.' << MyPage');
}

So , I want to add the string "MyPage" to all of the title from all the pages ? How can I do that and where can I write code, in which file ? thx

enter image description here

share|improve this question

1 Answer 1

Go to System->Configuration->Design->HTML Head and fill in your text in the field Title Suffix.
That will be appended to the title for all the pages.

share|improve this answer
    
I uploaded an image, I cannot find HTML HEAD –  Chester Jun 16 at 8:08
    
@Chester. Huh? Then you have a problem. I see that you are missing also Header and Footer. What version of Magento is that? –  Marius Jun 16 at 8:18
    
Magento ver. 1.8.0.0 -> this is the version –  Chester Jun 16 at 8:23
1  
@Chester. Definitely there is something wrong with your magento instance. There should be 3 extra tabs in there. Try changing the locale from RO to en_US in the backend (from the bottom select). Maybe there is something wrong with the locale. Also try to disable your third party modules one by one. Maybe one of them is affecting the admin. Also clear the cache. –  Marius Jun 16 at 8:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.