Create new module position
- 1
-
Open the index.php file of the template you wish to edit (if you can't see your website's code in there, then it's usually in a "tmpl", or some "template", maybe "layouts" sounding folder, one of the files). Then locate the place in the template where you wish to put the new position. Insert this code there:
<jdoc:include type="modules" name="newposition" />
The next two steps are optional, just to see it's name in the backend's Module Manager's position selection list. - 2
-
Open the template's TemplateDetails.xml file and locate these start and end tags:
<positions></positions>
- 3
-
Then add
<position>newposition</position>
Example
<positions> <position>debug</position> <position>position-0</position> <position>position-1</position> <position>position-2</position> <position>position-3</position> <position>position-4</position> <position>position-5</position> <position>position-6</position> <position>position-7</position> <position>position-8</position> <position>position-9</position> <position>position-10</position> <position>position-11</position> <position>position-12</position> <position>position-13</position> <position>position-14</position> <position>position-15</position> <position>newposition</position> </positions>