- Code: Select all
<?php if($this->API->modules('header') && $item_id != $error_item_id) : ?>
<?php if($this->API->modules('header_search') && $item_id != $error_item_id) : ?>
<?php if($this->API->modules('header_content') && $item_id != $error_item_id) : ?>
<div id="gkHeaderMod" class="gk-clearfix">
<jdoc:include type="modules" name="header" style="none" />
<div class="header_search"><jdoc:include type="modules" name="header_search" style="none" /></div>
<div class="header_content"><jdoc:include type="modules" name="header_content" style="none" /></div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
Now, with the new header_search and header_content module positions if I don't have modules published in those positions the header module doesn't display.
I need help getting the modules to display properly.
Thanks,
James