index.php segment:
<div class="wrapper960">
<?php if ($this->countModules( 'header-1' ) || $this->countModules( 'header-2' )) : ?>
<div class="header_top">
<?php if ($this->countModules( 'header-1' )) : ?>
<div class="header-1">
<jdoc:include type="modules" name="header-1" style="mod_simple" />
</div>
<?php endif; ?>
<?php if ($this->countModules( 'header-2' )) : ?>
<div class="header-2">
<jdoc:include type="modules" name="header-2" style="mod_simple" />
</div>
<?php endif; ?>
<?php require("inc/layouts/social_icons.php"); ?>
</div>
<?php endif; ?>
Since I didn't want anything in those modules (presently) but wanted the social icons to load I updated the segment to always load the header_top and social segment:
<div class="wrapper960">
<div class="header_top">
<?php if ($this->countModules( 'header-1' ) || $this->countModules( 'header-2' )) : ?>
<?php if ($this->countModules( 'header-1' )) : ?>
<div class="header-1">
<jdoc:include type="modules" name="header-1" style="mod_simple" />
</div>
<?php endif; ?>
<?php if ($this->countModules( 'header-2' )) : ?>
<div class="header-2">
<jdoc:include type="modules" name="header-2" style="mod_simple" />
</div>
<?php endif; ?>
<?php endif; ?>
<?php require("inc/layouts/social_icons.php"); ?>
</div>
Maybe a display yes/no on the social icons settings page and then include like the modules would work instead (and be cleaner).
Just passing this along.
Thanks!