Make a new module position
Here's a straightforward way to create a new module position in a Joomla Template that uses divs as containers
- Choose an unassigned module number or name.
(Not sure what modules have already been assigned - see our tip on viewing module positions) Find the spot where you want to place the module in the index.php template file. - (In other words go to the backend (administrator end) of Joomla and navigate to Site / Template Manager / Site Templates.
- Choose your template then click the html option. In html code, areas or divisions of the webpage are defined and placed between <div> and </div>.
- Then within the div, place this code -
<php if (mosCountModules('userPUTNAMEHERE')>0) { ?>
<?php mosLoadModules('userPUTNAMEHERE',-2); ?>
<?php } ?>![]()
or for Joomla 1.5
<?php if($this->countModules('userPUTNAMEHERE')>)) : ?>
<jdoc:include type="modules" name="user5" style="" />
<?php endif; ?>![]()
(The if statements are optional)
Audra's enthusiasm really kept the training interesting! I particularly liked the hands-on training and real world application. I feel Audra really made an effort to customise the training to our needs. ![]()
Emma Richards
Business Type: NGO Service
What We Do
-
Web Maintenance


























