Converting the search field to a module position
This tutorial applies to the following templates:
In some of more recent template release you will find that rather than using a module position to display a search field we have instead integrated it as part of the template. In some cases this may not be suitable as you may wish to display a different type module in the same area as the search field. Following we will detail for you how to covert this search field to a module position.
Locate the following in your templates header.php (../templates/[YourTemplate]/php/layouts/header.php)..
<?php if($search_onoff == "1") : ?> <div id="search"> <?php echo $search; ?> </div> <?php endif; ?>
Replace this code with the following..
<div id="search"> <jdoc:include type="modules" name="search" /> </div>
You'll find the position won't be listed in the positions dropdown in your module settings however this field is editable so simply type in the position search rather than trying to select it from the list.