Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1700

General Questions/New to Joomla! 5.x • call a module position in article default.php

$
0
0
If we want to call a module position in the index.php we use the following code:

Code:

          <?php if ($this->countModules('PUT HERE THE NAME OF THE POSITION', true)) : ?>        <div class="container-PUT HERE THE NAME OF THE POSITION">            <jdoc:include type="modules" name="PUT HERE THE NAME OF THE POSITION" style="card" />        </div>        <?php endif; ?>
if i put the same code to the article default.php the code is not working!

Statistics: Posted by joomlerGR — Wed May 08, 2024 8:29 pm



Viewing all articles
Browse latest Browse all 1700

Trending Articles