How to insert module position outside of index.php - Joomla! Forum - community, help and support
all,
i wondering if way can place module position within blog.php file, or other file isn't index.php.
i trying add module position inside of blog.php using , breaks page. understand should put module positions in index.php, 1 position easier place here.
i wondering if way can place module position within blog.php file, or other file isn't index.php.
i trying add module position inside of blog.php using , breaks page. understand should put module positions in index.php, 1 position easier place here.
code: select all
<?php if ($this->countmodules('blog-menu')) : ?>
<div id="top">
<jdoc:include type="modules" name="blog-menu" />
</div>
<?php endif; ?>
am not sure of countmodules() should able render modules using this
found in protostar's error.php
code: select all
<?php echo $doc->getbuffer('modules', 'blog-menu', array('style' => 'none')); ?>
found in protostar's error.php
Comments
Post a Comment