| Joomla : Templates and Site Design Editing index.php |
The search module is loaded by Joomla into a position called "user5". (You can check the position of any module by looking at the Site Module List demonstrated in a previous tutorial).
We'll use this code:
<div style="position:absolute;top:20px;margin-left:610px;height:0px;">
<?php mosLoadModules ( 'user5' ); ?>
</div>
This code will creates a DIV element (basically just an empty rectangle) and positions it. Then within that DIV element we tell Joomla to load the modules that are in the "user5" position.
| 1 2 3 4 5 6 7 8 9 10 11 12 |