Return to Snippet

Revision: 58939
at August 15, 2012 09:28 by gradamedia


Updated Code
<?php
defined('_JEXEC') or die;

JHtml::_('behavior.framework', true);

$app = JFactory::getApplication();

?>

<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >

	<head>

	<jdoc:include type="head" />

	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css" type="text/css" />

	<!--[if IE]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie.css" type="text/css" />
	<![endif]-->
	<!--[if IE 6]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie6.css" type="text/css" />
	<![endif]-->
	<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie7.css" type="text/css" />
	<![endif]-->
	<!--[if IE 8]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie8.css" type="text/css" />
	<![endif]-->
	<!--[if IE 9]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie9.css" type="text/css" />
	<![endif]-->
	<!--[if gt IE 6]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_iegt6.css" type="text/css" />
	<![endif]-->
	<!--[if lte IE 7]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ielte7.css" type="text/css" />
	<![endif]-->
	<!--[if gte IE 8]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_iegte8.css" type="text/css" />
	<![endif]-->
	<!--[if lt IE 9]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ielt9.css" type="text/css" />
	<![endif]-->

	</head>
	<body>
		<div id="wrapper">
		
		
			<div id="header">
				<h1><?php echo $app->getCfg('sitename'); ?></h1>
			</div>
		
			<div id="content">
		
				<?php if($this->countModules('left')) : ?>
					<div class="columnLeft">
						<jdoc:include type="modules" name="left" style="none" />
					</div>
				<?php endif; ?>
				
				<div id="maincontent">
					<jdoc:include type="message" />
					<jdoc:include type="component" />
				</div>
				
				<?php if($this->countModules('right')) : ?>
					<div class="columnRight">
						<jdoc:include type="modules" name="right" style="none" />
					</div>
				<?php endif; ?>		
				
			</div>		
			
			<?php if($this->countModules('footer')) : ?>
				<div class="footer">
					<jdoc:include type="modules" name="footer" style="none" />
				</div>
			<?php endif; ?>		
			
			
		</div>
	</body>	
</html>

Revision: 58938
at August 10, 2012 04:31 by gradamedia


Initial Code
<?php
defined('_JEXEC') or die;

JHtml::_('behavior.framework', true);

$app = JFactory::getApplication();

?>

<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >

	<head>

	<jdoc:include type="head" />

	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css" type="text/css" />

	<!--[if IE]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie.css" type="text/css" />
	<![endif]-->
	<!--[if IE 6]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie6.css" type="text/css" />
	<![endif]-->
	<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie7.css" type="text/css" />
	<![endif]-->
	<!--[if IE 8]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie8.css" type="text/css" />
	<![endif]-->
	<!--[if IE 9]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie9.css" type="text/css" />
	<![endif]-->
	<!--[if gt IE 6]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_iegt6.css" type="text/css" />
	<![endif]-->
	<!--[if lte IE 7]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ielte7.css" type="text/css" />
	<![endif]-->
	<!--[if gte IE 8]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_iegte8.css" type="text/css" />
	<![endif]-->
	<!--[if lt IE 9]>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ielt9.css" type="text/css" />
	<![endif]-->

	</head>
	<body>
		<div id="wrapper">
		
		
			<div id="header">
				<h1><?php echo $app->getCfg('sitename'); ?></h1>
			</div>
		
			<div id="content">
		
				<?php if($this->countModules('left')) : ?>
					<div class="columnLeft">
						<jdoc:include type="modules" name="left" style="none" />
					</div>
				<?php endif; ?>
				
				<div id="miancontent">
					<jdoc:include type="message" />
					<jdoc:include type="component" />
				</div>
				
				<?php if($this->countModules('right')) : ?>
					<div class="columnRight">
						<jdoc:include type="modules" name="right" style="none" />
					</div>
				<?php endif; ?>		
				
			</div>		
			
			<?php if($this->countModules('footer')) : ?>
				<div class="footer">
					<jdoc:include type="modules" name="footer" style="none" />
				</div>
			<?php endif; ?>		
			
			
		</div>
	</body>	
</html>

Initial URL

                                

Initial Description
Basic template for Joomla 2.5 with 3 columns

Initial Title
Basic template for Joomla 2.5

Initial Tags
php, xhtml, joomla

Initial Language
PHP