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.

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

code: select all

<?php echo $doc->getbuffer('modules', 'blog-menu', array('style' => 'none')); ?>

found in protostar's error.php





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

trim media limit reached