How to Change ItemID of Search Results Page Print E-mail
Written by myOltrans    Monday, 27 July 2009 12:01    Last Updated on Wednesday, 27 July 2011 08:34

The following instructions are applicable to to 1.5 Joomla. For Joomla 1.6 and higher just use the ItemID option in the Search Module.

By default Joomla! Search results are shown on the Home Page template. It is possible to change this by adding a hidden field to the search module.

Within your homepage template folder create a new directory called “html” and then “mod_search”.

Copy the “default.php” file from /modules/mod_search/tmpl/ into your newly created “mod_search” folder under your template folder.

Open this file at near the bottom just before the end of the form add:

<input type="hidden" name="Itemid" value="5" /> 

Save and upload to your site. You should now see your site-wide template loading. Change the value of the Itemid as needed.

blog comments powered by Disqus

© Copyright 2008-2015 Oltrans. Translation Agency Recourse Portal.
All rights reserved. Various trademarks held by their respective owners.

Oltrans, 152, 6-ti septemvri Bul., Plovdiv 4000 Bulgaria
General Inquiries: (Bulgaria) +359 32 511 272 | skype: My status