Thanks for your reply, i made the changes, actually my instalation is joomla 10.x but i am planning to upgrade to 1.5 i think is the best way to learn, i wonder if is necessary to change the encoding in this code cause i want to have the option to publish menu items and documents with different language characters, like Mandarin, Russian and others.
Code:
<?php
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My website</title>
if( defined( '_JEXEC' )) {
$user =& JFactory::getUser();
$my->gid = $user->get('aid', 0);
}
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/yourtemplatesname/css/template_css.css" />
</head>
<body>
</body>
</html>