Page 1 of 1

News Module on Search Results Page

Posted: Fri May 04, 2007 3:15 pm
by asim
Hi,

I was wondering if anyone knows how to get rid of the summary news module that appears on my search results page, you can see what I mean if you search for something from the homepage search box.

http://www.jenniemarshtrust.org/index.php?mact=Search%2Cm2%2Cdosearch%2C0&m2returnid=15&m2searchinput=nick

Cheers

Re: News Module on Search Results Page

Posted: Fri May 04, 2007 4:16 pm
by calguy1000
this is (probably) because you have {news} embedded in the page template.

To get rid of this you have two choices:
a) Use a different page template, without {news} for your search page, and use the resultpage parameter to the
    search module.  i.e.:
    {search resultpage='searchresults'} {* or some such thing *}

b) Use the techniques presented here:
    http://forum.cmsmadesimple.org/index.php/topic,11689.0.html
    to hide the news stuff when certain pages using that template tell it to.