View Single Post
  #5 (permalink)  
Old 06-25-2007, 07:54 PM
rowby rowby is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Default Not quite there

I started from scratch.

It's as if the template is not seeing the stylesheet.

Revised version: JFK Airport - Home

Here's my index.php code.

<?php
/**
* @Template Name:
* @Version: 1.12
* @Package: A Joomla 1.0.X template
* @Copyright: (C) 2007 by Brian Diaz Media 65
* @License: http://www.m65.net/
**/

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>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php if ($my->id) {initEditor();}?>
<link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" />
<link rel="shortcut icon" href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/favicon.ico"; ?>" />


</head>
<body>
<table width="1020" border="0" align="center" cellpadding="0">
<tr>
<td><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>header-jfk-new.jpg" width="1024" height="149" /></td>
</tr>
</table>
<table width="1020" border="0" align="center" cellpadding="0">
<tr>
<td><div id=”tablist”>
<?php if (mosCountModules('legals')>0) mosLoadModules('legals',-2); ?>
</div></td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>