how to display page title in joomla 1.0.x
Two ways on how to display page title anywhere in your joomla 1.0.x template
1. You can use the following code and add this at the top of your template:
<?php
$myPageTitle = $mainframe->_head['title'];
$myPageTitle =substr($mainframe->_head['title'], strlen($GLOBALS['mosConfig_sitename']) + 3);
?>
Put the code below anywhere in your template body:
<?php echo $myPageTitle; ?>
2. Use available modules : Heavenly Titles
Feel free to donate if my post helped you 

Ratings:
Posted in:
Joomla — admin|
|
|




















Thanks! Short but useful!
Comment by Nima — August 14, 2009 @ 1:23 pm