|
Add a new module position in your Joomla! 1.0 or 1.5 template |
First of all, a general tip on how to check the available module positions of your current template. Use a url like this: http://www.example.com/index.php?tp=1 After you've created a backup copy of your template folder, go to Template manager \ Site Templates, select your template and click on Edit HTML. Add the following code where you want to place your new position: Joomla! 1.0 <?php if (mosCountModules('custom')>0) { ?>
<?php mosLoadModules('custom',-2); ?>
<?php } ?>Joomla! 1.5 <?php if ($this->countModules('custom')) : ?>
<div>
<jdoc:include type="modules" name="custom" style="xhtml" />
</div>
<?php endif; ?>Change the name (custom) to whatever you like. Then go to Template Manager\ Module Positions and add the name of the new position (custom in the example).
Then you publish whatever module you want in your new module position .
Last update: 15-11-2007 10:50
Users' Comments (0)
|
|
|