However, it does not show up on the homepage or the contact page. The specific line is 57 which i have made bold below.
The goal is to have a homepage, with a header pic as well as modules below and have a different setup for every other page. It works, with the exception of the notice on article pages. Thanks in advance for help!
Code: Select all
//--><!]]></script></head>
<?php if (JRequest::getVar('option')=='com_content' && (JRequest::getVar('view')=='frontpage')) { $ishomepage=1; }?>
<?php if ($this->countModules('sidebar')) {$contentwide=0;} ?>
<body>
<div id="container">
<div id="top">
<div id="logo">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/logo.png" border="0" alt="logo"></a></div>
<div id="topright">
<div id="topmenu">
<jdoc:include type="modules" name="topmenu" />
</ul>
</div>
<div id="search"><jdoc:include type="modules" name="search" /></div>
<div class="cleaner"></div>
</div>
<div class="cleaner"></div>
</div>
<div id="nav">
<jdoc:include type="modules" name="mainmenu" />
</div>
<div id="slogan"><jdoc:include type="modules" name="slogan" /></div>
<div class="cleaner"></div>
[b][u]<?php if ($ishomepage == '1') { ?>[/u][/b]
<div id="header">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/header.jpg" border="0" alt="logo"><jdoc:include type="modules" name="orca_header" /></div>
<div id="bottommodules">
<div class="bottommodule"><jdoc:include type="modules" name="bottom1" style="xhtml"/></div>
<div class="bottommodule two"><jdoc:include type="modules" name="bottom2" style="xhtml"/></div>
<div class="bottommodule last"><jdoc:include type="modules" name="bottom3" style="xhtml"/></div>
<div class="cleaner"></div>
</div>
<?php } else { ?>
<div id="main">
<?php if ($contentwide=1) {?>
<div id="sidebar">
<jdoc:include type="modules" name="sidebar" style="xhtml" />
</div>
<?php } ?>
<div id="content"<?php if ($contentwide==0) {echo ' class="wide"';}?>>
<div id="breadcrumb"> <jdoc:include type="modules" name="breadcrumb" /></div>
<div id="contenttop"><jdoc:include type="modules" name="contenttop" /></div>
<jdoc:include type="message" />
<jdoc:include type="component" /></div>
<div class="cleaner"></div>
</div>
<?php } ?>