I need to have output in a way that all the other pages should get the default title but for product detail page I need a specific title.For this so far I tried adding this code
<h3><?php echo $this->getLayout()->getBlock('head')->getTitle();?></h3>-->>This is for common title
<?php if(Mage::registry('current_product')) ?>
<h3><?php echo "Feaured Products";?></h3>-->>this if for product detail page title.
<?php endif; ?>
but doing in this way crashing my page.