Tutorial :how to add a new modulo position on a joomla template?


i'm using a joomla template called decayed and it doesn't have the right position, only the left one and nothing more.

i would like to add a right and a button positions on that template. how can i do it?



Assuming you're using joomla 1.5, go into the template directory (/templates/someTemplateName/). I don't know anything about this theme, but if it follows the standard scheme for a joomla template, then modify these two files:

1) index.php

    <jdoc:include type="modules" name="myModulePosition" />  

Add that wherever you want your module to appear in the template (and substitute "myModulePosition" for what ever you want the module position to be named).

2) templateDetails.xml

Find the xml tag , should probably look something like this:

    <positions>          <position>left</position>      </positions>  

And add a new tag with your new position, such as:

    <positions>          <position>left</position>          <position>myModulePosition</position>      </positions>  

That way, your module position will show up in the list of available positions when you're adding/modifying modules.


scott solution may not work at all.

I simply do this by going to DB find module in #__modules table and add in the field "position" the name of desired position, It is hard way but it work's well

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »