How can I get Search to find content in News module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
bluemonkey
New Member
New Member
Posts: 3
Joined: Sun Jan 20, 2008 4:04 pm

How can I get Search to find content in News module

Post by bluemonkey »

I'm a newbie, have already looked through the boards and cannot find a solution for this problem.

When using the search function, it will find active news articles, but once the article expires, it is no longer appears when searching.

I've already got a page with the archived articles... how can I get the search feature to index these??
nivekiam

Re: How can I get Search to find content in News module

Post by nivekiam »

By default it should work.  Mine does.  Have you changed anything in your template?  Here is the default snippet from a template for putting the search box on a page:

  {* Start Search *}
 
          {search}
 
  {* End Search *}

That searches and finds content in my test news article.
bluemonkey
New Member
New Member
Posts: 3
Joined: Sun Jan 20, 2008 4:04 pm

Re: How can I get Search to find content in News module

Post by bluemonkey »

Yes, I have the exact same code. 

In my testing, if the article is active, search will find it.  If the article is expired, it is no longer found.

Here is the process I tested with:
  • created a news article, checking to use the expiration date, and setting an end date of 1 minute in the future.
  • Immediately search the article while still active - Search finds the article
  • After the designated time (1 min) has passed, I search again - Article is no longer found
Thank you in advance for your assistance.
nivekiam

Re: How can I get Search to find content in News module

Post by nivekiam »

Ah, looks like that is what the intended behavior is.  I'd file a feature request here http://dev.cmsmadesimple.org/projects/newsmodule/ to add an option to allow searching an article after expiration.
Post Reply

Return to “CMSMS Core”