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??
How can I get Search to find content in News module
-
- New Member
- Posts: 3
- Joined: Sun Jan 20, 2008 4:04 pm
Re: How can I get Search to find content in News module
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.
{* Start Search *}
{search}
{* End Search *}
That searches and finds content in my test news article.
-
- New Member
- Posts: 3
- Joined: Sun Jan 20, 2008 4:04 pm
Re: How can I get Search to find content in News module
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:
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
Re: How can I get Search to find content in News module
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.