I am trying to build my first joomla template i have choosen the mozilla Komposer editor, cause i need a portable tool to work on it, someone told me that (the Joomla API and php. Kompozer isn't going to give me a WYSIWYG solution to making it work with the API.
Could please someone give me a brief better idea of what this really mean
this is the code, i hope someone point me out the right way to make a template with no deprecated code, the main meaning of making this is to learn actual programming languages.
I know dreamweaver would be the best, but i am looking for a second free option
This is my index.php
Code:
<?php
defined( '_VALID_MOS' ) 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>
<?php if ( $my->id ) initEditor(); ?>
<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>