Adding a custom module position to the RocketTheme Afterburner template
VendorOpen Source Matters
PlatformJoomla
Version1.5.x
Wednesday, 17 February 2010 16:38

In this article we will be adding a custom module position to the RocketTheme Afterburner template. The syntax used here will be specfic to the Afterburner template but you should be able to adjust and use as nessecary within your own template.

Add the following code to the following files within /templates/rt_afterburner_j15/

index.php

<div id="nav">
<jdoc:include type="modules" name="nav" style="none" />
!! under here add !!
<jdoc:include type="modules" name="positionname" style="none" />

templateDetails.xml
    <positions>
        <position>top</position>
        <position>nav</position>
!! under here add !!
<position>positionname</position>

Adding a Div Class
So that you can add the new module to your CSS you will need to wrap the module position within your index.php in the syntax,
<div class="positionclass">
POSITION HERE
</div>
Other ways you can wrap your module position is to add it to the modules "module suffix class" or within the actual HTML of your module.

 



 
We have 69 guests online