search results for news and company directory linking to resultpage
Posted: Thu Apr 29, 2010 9:28 pm
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
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