News Module on Search Results Page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
asim

News Module on Search Results Page

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: News Module on Search Results Page

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “Layout and Design (CSS & HTML)”