How to Prevent Modules Being Loaded in Search Results Page

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
beededea
Joomla! Hero
Joomla! Hero
Posts: 2809
Joined: Wed Oct 31, 2007 3:48 pm
Location: Victorian England 1885

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by beededea » Fri Aug 19, 2011 11:08 am

That is because it is for Joomla 1.5 whereas the others were for Joomla 1.0.

This part of the forum is for Joomla 1.0 issues.
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar

User avatar
xiangdian
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Sep 10, 2009 12:50 am
Location: Beijing, China
Contact:

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by xiangdian » Fri Aug 19, 2011 12:50 pm

beededea wrote:That is because it is for Joomla 1.5 whereas the others were for Joomla 1.0.

This part of the forum is for Joomla 1.0 issues.
Thank you. Hope i could have known before! :)

hanleyhansen
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jun 08, 2009 2:46 pm
Location: NJ, USA
Contact:

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by hanleyhansen » Fri Sep 16, 2011 3:36 pm

beipink wrote:you don't need to do all that
Edit the third line of this file joomla\modules\mod_search\tmpl\default.php
this
<form action="index.php" method="post">

into this
<form action="index.php?option=com_search" method="post">

regards
kirk
***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****_
the above is true for joomla 1.5.x
How can I do this in 1.6

User avatar
beededea
Joomla! Hero
Joomla! Hero
Posts: 2809
Joined: Wed Oct 31, 2007 3:48 pm
Location: Victorian England 1885

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by beededea » Fri Sep 16, 2011 5:37 pm

@ hanleyhansen - You raise your query in the right part of the forum - as the above post says this is for Joomla 1.0!
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar

hanleyhansen
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jun 08, 2009 2:46 pm
Location: NJ, USA
Contact:

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by hanleyhansen » Fri Sep 16, 2011 5:40 pm

Sorry. I noticed it late. I did make a new thread in the appropriate section.

sdae07
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Thu Oct 04, 2007 5:32 am

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by sdae07 » Mon Feb 20, 2012 7:24 pm

Hi there I know this post is for 1.5, however, is there a new technique with 2.5 Joomla? None of the above are working for me. It seems the new 2.5 already fixed the component controller mentioned above, and the changing the form in the module to:

Code: Select all

<form action="index.php?option=com_search&view=search" method="post">
doesn't seem to work either.

sdae07
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Thu Oct 04, 2007 5:32 am

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by sdae07 » Wed Feb 22, 2012 5:23 pm

I found a solution for 2.5 Joomla. You simply create a search page in your menu items (doesn't have to be published) and you use the ID number to place in the search module under "Basic Options > Set ItemID". Here you can control what modules are on that page, or not on that page. :)

msfadmin
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Apr 19, 2012 6:52 am

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by msfadmin » Thu Apr 19, 2012 7:22 am

I had this problem...and i found my solution is the easiest one mentioned here
here is how i solved this issue:

1-Creat new menu call it "Hidden Menu" .
2-Creat new menu item in the "Hidden Menu" with type "List Search Results",name it "Search", and publish it.
3-In the "Search" menu item created previously, copy its ID .... now go to Joomla search module in module manager and paste the ID in the "Set ItemID" field located in the module Basic Options.
4-taraaaa ........SOLVED ^_^.

msfadmin
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Apr 19, 2012 6:52 am

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by msfadmin » Thu Apr 19, 2012 7:42 am

sdae07 wrote:I found a solution for 2.5 Joomla. You simply create a search page in your menu items (doesn't have to be published) and you use the ID number to place in the search module under "Basic Options > Set ItemID". Here you can control what modules are on that page, or not on that page. :)

ahhh i didn't see ur post till now ..same as my solution... it works also for joomla 1.7 ... but it is better to publish the menu item so that "/component/search/" will not appear in the page URL...this is why i published the item in a Hidden Menu.

beyondthenet
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 31, 2012 7:21 pm

Re: How to Prevent Modules Being Loaded in Search Results Pa

Post by beyondthenet » Wed Sep 10, 2014 10:16 pm

This solution works for Joomla 3.3.3:

1-Create new menu call it "Hidden Menu" .
2-Create new menu item in the "Hidden Menu" with type "List Search Results",name it "Search", and publish it.
3-In the search module, choose the in the "Set ItemID" the menu item "Search"

The "Set ItemID" is found on the bottom left under the first module tab called "Module".


Locked

Return to “General Questions - 1.0.x”