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.

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok