I have a site wide search form in my header that's basically {search resultpage="search-results"}. The search results are great. Pages are linking to the pages they should.
The problem is that the news article links and company directory links are staying on the search results page.
The search Help page says 'Note: modules have the ability to override this parameter' for detailpage. That would be wonderful! Where can I override this search parameter? Is it a module setting? I can't find it anywhere.
I tried adding 'passthru_News_detailpage="press-releases"' to my search tag but no go. I've been reading some other posts about adding a SearchResultWithParams function to modules/News/News.module.php but that's not right, is it? I shouldn't have to modify core files to get something from the module Help to work, should I?
Can someone point me in the right direction please?
Thanks
amanda
search results for news and company directory linking to resultpage
Re: search results for news and company directory linking to resultpage
Some more info:
I started playing with the SearchResultWithParams option and realized it's really the returnid that's messing up my url. The returnid was always the id of my search result page even though I wanted it to be the id of the passthru detailpage (passthru_News_detailpage="press-releases").
I started playing with the SearchResultWithParams option and realized it's really the returnid that's messing up my url. The returnid was always the id of my search result page even though I wanted it to be the id of the passthru detailpage (passthru_News_detailpage="press-releases").