If we want to call a module position in the index.php we use the following code:
if i put the same code to the article default.php the code is not working!
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; ?>
Statistics: Posted by joomlerGR — Wed May 08, 2024 8:29 pm