How Can We Help?
- Open your template file where you would like to place the module position
- Add the following code to the template file
<?php if ($this->countModules('customPosition')) : ?> <div id="customPosition" > <jdoc:include type="modules" name="customPosition" style="xhtml" /> </div> <?php endif; ?>
NOTE: customPosition is the name/identifier for the new module position
- Now you need to tell Joomla! which module positions are available within the template, to do this open the templateDetails.xml file within the root folder of your template and add the following code within the <install> namespace
<positions> <position>customPosition</position> </positions>
NOTE: You would probably only need to add <position>customPosition</position> to the template between the <positions> tag