Prostar Template postions not disappearing when empty - Joomla! Forum - community, help and support


hello all. added new template position prostar template. works fine , disappears on pages not supposed appear on. ie selected option appear on selected pages.
after enabled 3 positions, position-9, position-10, , position-11 adding them index.php file. when added them assigned same div class three, have them displaying inline blocks, added background color , have them selected appear on front page. problem appear on pages. have not altered template details file other add carousel position working fine. can please tell me how fix this. appreciate it.
here index.php code used:
</header>
<?php if ($this->countmodules('position-1')) : ?>
<nav class="navigation" role="navigation">
<jdoc:include type="modules" name="position-1" style="none" />
</nav>
<?php endif; ?>
<jdoc:include type="modules" name="carousel" style="none" />
<jdoc:include type="modules" name="banner" style="xhtml" />
<!-- promo -->
<div class="promo1"><jdoc:include type="modules" name="position-9" style="none" />
</div>
<div class="promo1"><jdoc:include type="modules" name="position-10" style="none" />
</div>
<div class="promo1"><jdoc:include type="modules" name="position-11" style="none" />
</div>
<div class="row-fluid">
<?php if ($this->countmodules('position-8')) : ?>
<!-- begin sidebar -->
<div id="sidebar" class="span3">
<div class="sidebar-nav">
<jdoc:include type="modules" name="position-8" style="xhtml" />
</div>

here css
.promo1{display:inline-block;
background-color:#fff;
padding:1%;
width:31%;
margin-bottom:1%;
vertical-align:top;
height:300px;
}

the site offline happy provide login credentials in here if needed.

thanks, ed.

im sorry have wasted anyone's time. went on code , realised forgot put php if lines. here fix in case else it.

<?php if ($this->countmodules('position-9')) : ?>
<div class="promo1"><jdoc:include type="modules" name="position-9" style="none" />
</div>
<?php endif; ?>

hello

this due joomla limitation.
when articles/categories dont have menu (read item id) go under frontpage itemid. disable sef url global config , you'll see problematic article using frontpage itemid (menu id).

as module assigned item id, module appears in articles.

to solve issue, create menu (may hidden) articles or categories itemid





Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

Thread: Wine can't find the cd