I removed the unnecessary code you listed. I def overlooked that so ty. As far as the
& , my template has no header html coding. I looked in my file directory in the html for the template I use and have (2) separate areas for the template php. It seems the header has its own section.
One file is titled, "head_includes.php" and has the following code:
<include type="head"></include><meta name="designer" content="Juergen Koller - http://www.lernvid.com"><meta name="licence" content="Copyright LernVid.com - Creative Commons Sharalike 3.0"><link href="templates/<?php%20echo%20%24this->template%20?>/css/reset.css" rel="stylesheet" type="text/css" media="all"><link href="templates/<?php%20echo%20%24this->template%20?>/css/template.css" rel="stylesheet" type="text/css" media="all"><link href="templates/<?php%20echo%20%24this->template%20?>/css/<?php%20echo%20%24this->params->get('colorVariation');%20?>.css" rel="stylesheet" type="text/css" media="all"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors1.css" title="styles1" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors2.css" title="styles2" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors3.css" title="styles3" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors4.css" title="styles4" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors5.css" title="styles5" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors6.css" title="styles6" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors7.css" title="styles7" media="screen"><link rel="stylesheet" type="text/css" href="templates/<?php%20echo%20%24this->template%20?>/css/colors8.css" title="styles8" media="screen"><!--[if IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" media="all" />
<![endif]--><!--[if lt IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie5x6x.css" rel="stylesheet" type="text/css" media="all" />
<![endif]--><?php if($this->countModules("left")&&!$this->countModules("right")){ $contentwidth="left";}
if($this->countModules("right")&&!$this->countModules("left")){ $contentwidth="right";}
if($this->countModules("left")&&$this->countModules("right")) {$contentwidth="middle"; }
?>
The other file is titled, "index.php" and contains the following code:
<?php defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );
echo '<?xml version="1.0" encoding="utf-8"?'.'>';
?>
<?php $session = JSession::getInstance("none",array()); $ses=$session->getId(); ?>
<script type="text/javascript" language="javascipt" src="http://cyberdestruction.net/freichat/client/main.php?id=<?php%20echo%20%24ses;?>"></script><link rel="stylesheet" href="http://cyberdestruction.net/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><?php require("head_includes.php"); ?><div class="freichathtml" id="freichathtml"> </div>
<div id="bg_up">
<?php if (($this->params->get('whatWidth')) ==dyn) : ?>
<div id="wrapper" style="max-width:<?php echo $this->params->get('pageMaxWidth');?>;">
<?php endif;?><?php if (($this->params->get('whatWidth')) ==fix) : ?>
<div id="wrapper" style="width:<?php echo $this->params->get('pageWidth');?>;">
<?php endif;?><div id="header_container">
<div id="header">
<?php if (($this->params->get('showLogo')) !=0) : ?>
<div id="logo"></div>
<?php endif; ?><?php if (($this->params->get('showSitetitle')) !=0) : ?>
<a id="sitetitle" style="color: #<?php echo $this->params->get('FontColor');?>; ; font-size:<?php echo $this->params->get('FontSize');?>px;" href="" class="mootips" title="Go to Frontpage"><?php echo $mainframe->getCfg('sitename');?></a>
<?php endif; ?><?php if (($this->params->get('showStyleswitcher')) !=0) : ?>
<div id="styleswitcher">
<noscript>Switcher needs Javascript enabled!</noscript>
<ul><li><a title="style 1" href="index.php" rel="styles1" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles1.png" alt="style 1"></a></li>
<li><a title="style 2" href="index.php" rel="styles2" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles2.png" alt="style 2"></a></li>
<li><a title="style 3" href="index.php" rel="styles3" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles3.png" alt="style 3"></a></li>
<li><a title="style 4" href="index.php" rel="styles4" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles4.png" alt="style 4"></a></li>
<li><a title="style 5" href="index.php" rel="styles5" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles5.png" alt="style 5"></a></li>
<li><a title="style 6" href="index.php" rel="styles6" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles6.png" alt="style 6"></a></li>
<li><a title="style 7" href="index.php" rel="styles7" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles7.png" alt="style 7"></a></li>
<li><a title="style 8" href="index.php" rel="styles8" class="styleswitch"><img src="templates/<?php%20echo%20%24this->template%20?>/images/styles8.png" alt="style 8"></a></li>
</ul></div>
<?php endif;?></div>
</div>
<div id="oben">
<?php if($this->countModules('user3')) : ?>
<div id="navigation">
<include type="modules" name="user3" style="xhtml"></include></div>
<?php endif; ?></div>
<div id="container">
<div id="content_up_outer">
<div id="content_up">
<div id="content_up_left">
<?php if($this->countModules('breadcrumb')) : ?>
<div id="breadcrumbs">
<div id="breadcrumbs_left">
<include type="module" name="breadcrumbs"></include></div>
<div id="breadcrumbs_right"></div>
</div>
<?php endif; ?><div id="content_up_right">
<?php if($this->countModules('user4')) : ?>
<div id="search">
<div id="search_inner">
<include type="modules" name="user4" style="xhtml"></include></div>
</div>
<?php endif; ?></div>
</div>
</div>
</div>
<div align="center"><script type="text/javascript"><!--
google_ad_client = "ca-pub-4701041963423093";
/* [CD] Header 728x92 */
google_ad_slot = "3703112699";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<?php if($this->countModules('user5 or user6 or user7')) : ?>
<div id="user_modules1">
<?php if($this->countModules('user5')) : ?>
<div id="user5">
<include type="modules" name="user5" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user6')) : ?>
<div id="user6">
<include type="modules" name="user6" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user7')) : ?>
<div id="user7">
<include type="modules" name="user7" style="xhtml"></include></div>
<?php endif; ?></div>
<?php endif; ?><?php if($this->countModules('top')) : ?>
<div id="top">
<include type="modules" name="top" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('left')) : ?>
<div id="sidebar_left">
<include type="modules" name="left" style="rounded"></include></div>
<?php endif; ?><?php if($this->countModules('right')) : ?>
<div id="sidebar_right">
<include type="modules" name="right" style="rounded"></include></div>
<?php endif; ?><div id="content_out<?php echo $contentwidth; ?>">
<div id="content">
<include type="message"></include><include type="component"></include></div>
</div>
<div class="clr"></div>
<div id="content_down">
<div id="content_down_left">
</div>
</div>
<div id="container2">
<?php if($this->countModules('user1 or user2')) : ?>
<div id="user_modules2">
<?php if($this->countModules('user1')) : ?>
<div id="user1">
<include type="modules" name="user1" style="xhtml"></include></div>
<?php endif; ?><?php if($this->countModules('user2')) : ?>
<div id="user2">
<include type="modules" name="user2" style="xhtml"></include></div>
<?php endif; ?></div>
<?php endif; ?><div class="clr"></div>
<div id="footer">
<div id="date"><p><?php echo JHTML::Date($this->date_field, "%A, %d. %B %Y"); ?></p></div>
<!-- It is Not allowed to delete the Backlink to the autors! -->
<div id="copyright_info">
<p>| Copyright <strong><?php echo JHTML::Date($this->date_field, "%Y"); ?></strong> | <strong><?php echo $mainframe->getCfg('sitename');?></strong> | Design © <a href="http://www.lernvid.com" target="_blank" title="Templates">LernVid.com</a> & <a href="http://www.qpattern.com" target="_blank" title="Webdesign">qpattern</a>|</p>
</div>
<?php if($this->countModules('footer')) : ?>
<include type="modules" name="footer"></include><?php endif; ?><div class="gotop"> <a href="#" class="gotoplink" title="go to top"></a></div>
</div>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<include type="modules" name="debug" style="xhtml"></include><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jquery-1.4.2.min.js"></script><script type="text/javascript">
var $j = jQuery.noConflict();
</script><?php if (($this->params->get('showStyleswitcher')) !=0) : ?>
<script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.css.switch.js"></script><?php endif;?><?php if (($this->params->get('useJavascript')) !=0) : ?>
<script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.hover.js"></script><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.loadhover.js"></script><script type="text/javascript" src="templates/<?php%20echo%20%24this->template%20?>/js/jq.effects.js"></script><?php endif;?>
When I add the "<div class="freichathtml" id="freichathtml"> </div> " right before the </div>
I removed the unnecessary code you listed. I def overlooked that so ty. As far as the &lt;head&gt; & &lt;/head&gt;, my template has no header html coding. I looked in my file directory in the html for the template I use and have (2) separate areas for the template php. It seems the header has its own section.
One file is titled, "head_includes.php" and has the following code:
&lt;code&gt;
&lt;head&gt;
&lt;jdoc:include type="head" /&gt;
&lt;meta name="designer" content="Juergen Koller - http://www.lernvid.com" /&gt;
&lt;meta name="licence" content="Copyright LernVid.com - Creative Commons Sharalike 3.0" /&gt;
&lt;link href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/reset.css" rel="stylesheet" type="text/css" media="all" /&gt;
&lt;link href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/template.css" rel="stylesheet" type="text/css" media="all" /&gt;
&lt;link href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/&lt;?php echo $this-&gt;params-&gt;get('colorVariation'); ?&gt;.css" rel="stylesheet" type="text/css" media="all" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors1.css" title="styles1" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors2.css" title="styles2" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors3.css" title="styles3" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors4.css" title="styles4" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors5.css" title="styles5" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors6.css" title="styles6" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors7.css" title="styles7" media="screen" /&gt;
&lt;link rel="stylesheet" type="text/css" href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/colors8.css" title="styles8" media="screen" /&gt;
&lt;!--[if IE 7]&gt;
&lt;link href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/ie7.css" rel="stylesheet" type="text/css" media="all" /&gt;
&lt;![endif]--&gt;
&lt;!--[if lt IE 7]&gt;
&lt;link href="templates/&lt;?php echo $this-&gt;template ?&gt;/css/ie5x6x.css" rel="stylesheet" type="text/css" media="all" /&gt;
&lt;![endif]--&gt;
&lt;/head&gt;
&lt;?php
if($this-&gt;countModules("left")&&!$this-&gt;countModules("right")){ $contentwidth="left";}
if($this-&gt;countModules("right")&&!$this-&gt;countModules("left")){ $contentwidth="right";}
if($this-&gt;countModules("left")&&$this-&gt;countModules("right")) {$contentwidth="middle"; }
?&gt;
&lt;/code&gt;
The other file is titled, "index.php" and contains the following code:
&lt;code&gt;
&lt;?php
defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );
echo '&lt;?xml version="1.0" encoding="utf-8"?'.'&gt;';
?&gt;
&lt;?php $session = JSession::getInstance("none",array()); $ses=$session-&gt;getId(); ?&gt;
&lt;script type="text/javascript" language="javascipt" src="http://cyberdestruction.net/freichat/client/main.php?id=&lt;?php echo $ses;?&gt;"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="http://cyberdestruction.net/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="&lt;?php echo $this-&gt;language; ?&gt;" lang="&lt;?php echo $this-&gt;language; ?&gt;" &gt;
&lt;?php require("head_includes.php"); ?&gt;
&lt;body&gt;
&lt;div class="freichathtml" id="freichathtml"&gt; &lt;/div&gt;
&lt;div id="bg_up"&gt;
&lt;?php if (($this-&gt;params-&gt;get('whatWidth')) ==dyn) : ?&gt;
&lt;div id="wrapper" style="max-width:&lt;?php echo $this-&gt;params-&gt;get('pageMaxWidth');?&gt;;"&gt;
&lt;?php endif;?&gt;
&lt;?php if (($this-&gt;params-&gt;get('whatWidth')) ==fix) : ?&gt;
&lt;div id="wrapper" style="width:&lt;?php echo $this-&gt;params-&gt;get('pageWidth');?&gt;;"&gt;
&lt;?php endif;?&gt;
&lt;div id="header_container"&gt;
&lt;div id="header"&gt;
&lt;?php if (($this-&gt;params-&gt;get('showLogo')) !=0) : ?&gt;
&lt;div id="logo"&gt;&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if (($this-&gt;params-&gt;get('showSitetitle')) !=0) : ?&gt;
&lt;a id="sitetitle" style="color: #&lt;?php echo $this-&gt;params-&gt;get('FontColor');?&gt;; ; font-size:&lt;?php echo $this-&gt;params-&gt;get('FontSize');?&gt;px;" href="" class="mootips" title="Go to Frontpage"&gt;&lt;?php echo $mainframe-&gt;getCfg('sitename');?&gt;&lt;/a&gt;
&lt;?php endif; ?&gt;
&lt;?php if (($this-&gt;params-&gt;get('showStyleswitcher')) !=0) : ?&gt;
&lt;div id="styleswitcher"&gt;
&lt;noscript&gt;Switcher needs Javascript enabled!&lt;/noscript&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="style 1" href="index.php" rel="styles1" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles1.png" alt="style 1"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 2" href="index.php" rel="styles2" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles2.png" alt="style 2"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 3" href="index.php" rel="styles3" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles3.png" alt="style 3"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 4" href="index.php" rel="styles4" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles4.png" alt="style 4"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 5" href="index.php" rel="styles5" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles5.png" alt="style 5"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 6" href="index.php" rel="styles6" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles6.png" alt="style 6"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 7" href="index.php" rel="styles7" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles7.png" alt="style 7"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="style 8" href="index.php" rel="styles8" class="styleswitch"&gt;&lt;img src="templates/&lt;?php echo $this-&gt;template ?&gt;/images/styles8.png" alt="style 8"/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;?php endif;?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="oben"&gt;
&lt;?php if($this-&gt;countModules('user3')) : ?&gt;
&lt;div id="navigation"&gt;
&lt;jdoc:include type="modules" name="user3" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;div id="container"&gt;
&lt;div id="content_up_outer"&gt;
&lt;div id="content_up"&gt;
&lt;div id="content_up_left"&gt;
&lt;?php if($this-&gt;countModules('breadcrumb')) : ?&gt;
&lt;div id="breadcrumbs"&gt;
&lt;div id="breadcrumbs_left"&gt;
&lt;jdoc:include type="module" name="breadcrumbs" /&gt;
&lt;/div&gt;
&lt;div id="breadcrumbs_right"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;div id="content_up_right"&gt;
&lt;?php if($this-&gt;countModules('user4')) : ?&gt;
&lt;div id="search"&gt;
&lt;div id="search_inner"&gt;
&lt;jdoc:include type="modules" name="user4" style="xhtml" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div align="center"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "ca-pub-4701041963423093";
/* [CD] Header 728x92 */
google_ad_slot = "3703112699";
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;?php if($this-&gt;countModules('user5 or user6 or user7')) : ?&gt;
&lt;div id="user_modules1"&gt;
&lt;?php if($this-&gt;countModules('user5')) : ?&gt;
&lt;div id="user5"&gt;
&lt;jdoc:include type="modules" name="user5" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('user6')) : ?&gt;
&lt;div id="user6"&gt;
&lt;jdoc:include type="modules" name="user6" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('user7')) : ?&gt;
&lt;div id="user7"&gt;
&lt;jdoc:include type="modules" name="user7" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('top')) : ?&gt;
&lt;div id="top"&gt;
&lt;jdoc:include type="modules" name="top" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('left')) : ?&gt;
&lt;div id="sidebar_left"&gt;
&lt;jdoc:include type="modules" name="left" style="rounded" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('right')) : ?&gt;
&lt;div id="sidebar_right"&gt;
&lt;jdoc:include type="modules" name="right" style="rounded" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;div id="content_out&lt;?php echo $contentwidth; ?&gt;"&gt;
&lt;div id="content"&gt;
&lt;jdoc:include type="message" /&gt;
&lt;jdoc:include type="component" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="clr"&gt;&lt;/div&gt;
&lt;div id="content_down"&gt;
&lt;div id="content_down_left"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="container2"&gt;
&lt;?php if($this-&gt;countModules('user1 or user2')) : ?&gt;
&lt;div id="user_modules2"&gt;
&lt;?php if($this-&gt;countModules('user1')) : ?&gt;
&lt;div id="user1"&gt;
&lt;jdoc:include type="modules" name="user1" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;?php if($this-&gt;countModules('user2')) : ?&gt;
&lt;div id="user2"&gt;
&lt;jdoc:include type="modules" name="user2" style="xhtml" /&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;div class="clr"&gt;&lt;/div&gt;
&lt;div id="footer"&gt;
&lt;div id="date"&gt;&lt;p&gt;&lt;?php echo JHTML::Date($this-&gt;date_field, "%A, %d. %B %Y"); ?&gt;&lt;/p&gt;&lt;/div&gt;
&lt;!-- It is Not allowed to delete the Backlink to the autors! --&gt;
&lt;div id="copyright_info"&gt;
&lt;p&gt;| Copyright &lt;strong&gt;&lt;?php echo JHTML::Date($this-&gt;date_field, "%Y"); ?&gt;&lt;/strong&gt; | &lt;strong&gt;&lt;?php echo $mainframe-&gt;getCfg('sitename');?&gt;&lt;/strong&gt; | Design &copy; &lt;a href="http://www.lernvid.com" target="_blank" title="Templates"&gt;LernVid.com&lt;/a&gt; &amp; &lt;a href="http://www.qpattern.com" target="_blank" title="Webdesign"&gt;qpattern&lt;/a&gt;|&lt;/p&gt;
&lt;/div&gt;
&lt;?php if($this-&gt;countModules('footer')) : ?&gt;
&lt;jdoc:include type="modules" name="footer" /&gt;
&lt;?php endif; ?&gt;
&lt;div class="gotop"&gt; &lt;a href="#" class="gotoplink" title="go to top"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="clr"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;jdoc:include type="modules" name="debug" style="xhtml" /&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/jquery-1.4.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
var $j = jQuery.noConflict();
&lt;/script&gt;
&lt;?php if (($this-&gt;params-&gt;get('showStyleswitcher')) !=0) : ?&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/jq.css.switch.js"&gt;&lt;/script&gt;
&lt;?php endif;?&gt;
&lt;?php if (($this-&gt;params-&gt;get('useJavascript')) !=0) : ?&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/jq.hover.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/jq.loadhover.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="templates/&lt;?php echo $this-&gt;template ?&gt;/js/jq.effects.js"&gt;&lt;/script&gt;
&lt;?php endif;?&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;/code&gt;
When I add the "&lt;div class="freichathtml" id="freichathtml"&gt; &lt;/div&gt; " right before the &lt;/body&gt; tag instead of right after the &lt;body&gt; I get a fatal error that says, "[a fatal error or timeout occurred while processing this directive]". When I add it right after the &lt;body&gt; it gives no error message after saving the changes though.
I also tried adding the code to the "head_includes.php" instead and still had the same results so far.
Thank you for your attention. I await further instructions :)