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
1.
<div id="nav">
2.
<jdoc:include type="modules" name="nav" style="none" />
3.
!! under here add !!
4.
<jdoc:include type="modules" name="positionname" style="none" />
templateDetails.xml
1.
<positions>
2.
<position>top</position>
3.
<position>nav</position>
4.
!! under here add !!
5.
<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,
No comments:
Post a Comment