Articles not showing with template - Joomla! Forum - community, help and support
i'm using joomla 2.5 finish website created company. had problems template design not showing, since i've resolved issue. problem have articles site not showing up. i've looked , down each line of code, , don't know need fix problem. make matters worse, i'm running out of time job done. can please help? i've added source code wants closer look.
your template missing crucial line of code:
this little line calls content database, , places inside template.
i'm not 100% sure should go, think i'd stick here:
you may need shift around depending on falls in container elements. hope helps!
code: select all
<jdoc:include type="component" />this little line calls content database, , places inside template.
i'm not 100% sure should go, think i'd stick here:
code: select all
<?php
echo $view->position('position-19', 'art-nostyle');
if ($view->containsmodules('position-2'))
echo artxpost($view->position('position-2'));
echo $view->positions(array('position-20' => 50, 'position-21' => 50), 'art-article');
echo $view->position('position-12', 'art-nostyle');
if ($view->hasmessages())
echo artxpost('');
echo '';
echo $view->position('position-22', 'art-nostyle');
echo $view->positions(array('position-23' => 50, 'position-24' => 50), 'art-article');
echo $view->position('position-25', 'art-nostyle');
?>
<div class="cleared"></div>
<jdoc:include type="component" /> <!--place component code here... @ least start-->
</div>
</div>
</div>
</div>
<div class="cleared"></div>you may need shift around depending on falls in container elements. hope helps!
Comments
Post a Comment