{"id":369,"date":"2010-02-17T16:38:20","date_gmt":"2010-02-17T16:38:20","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/02\/17\/adding-a-custom-module-position-to-your-joomla-template\/"},"modified":"2023-02-24T13:01:24","modified_gmt":"2023-02-24T13:01:24","slug":"adding-a-custom-module-position-to-your-joomla-template","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Web-Development\/Joomla\/adding-a-custom-module-position-to-your-joomla-template.html","title":{"rendered":"Add Custom Module Position to RocketTheme Afterburner Template"},"content":{"rendered":"
In this article we will be adding a custom module position to the RocketTheme Afterburner template<\/a>. 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.<\/p>\n Add the following code to the following files within \/templates\/rt_afterburner_j15\/<\/span><\/p>\n index.php<\/strong><\/p>\n templateDetails.xml<\/strong><\/p>\n Adding a Div Class<\/strong> 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.<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" 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”> … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"yoast_head":"\n<div id=\"nav\">\r\n<jdoc:include type=\"modules\" name=\"nav\" style=\"none\" \/>\r\n!! under here add !!\r\n<jdoc:include type=\"modules\" name=\"positionname\" style=\"none\" \/><\/pre>\n
\u00a0 \u00a0 <positions>\r\n\u00a0 \u00a0 \u00a0 \u00a0 <position>top<\/position>\r\n\u00a0 \u00a0 \u00a0 \u00a0 <position>nav<\/position>\r\n!! under here add !!\r\n<position>positionname<\/position><\/pre>\n
\nSo 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,<\/p>\n<div class=\"positionclass\">\r\nPOSITION HERE\r\n<\/div><\/pre>\n