News module shows future articles

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

News module shows future articles

Post by dam »

Hello,

Does anyone of you have the same bug than me ?
I have prepared some news articles for my website and I see 2 mistakes

1) When the article is marked "active" but with a publication date in the future, the article is still shown in News module RSS feed

2) When the article is marked "inactive", it still appears in search results.

Strange, isn't it ?
Last edited by dam on Mon Sep 15, 2008 3:14 pm, edited 1 time in total.
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Search module and RSS feed show hidden articles

Post by dam »

Well, forget point 2 : a complete reindexing of content made it disappear.

Nevertheless, point 1 is still here : when an article is "active", with a publication date in the future, it appears in news module RSS feed, which is quite embarrassing.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Search module and RSS feed show hidden articles

Post by Russ »

What version you on dam. I had to add some extra code to the search module to stop it searching Albums (which I had hidden for a particular client with FEU). But I guess this more to do with future News and wether active or not or at least triggering active for stuff that is current or past?

Russ
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Search module and RSS feed show hidden articles

Post by dam »

Russ wrote: What version you on dam. I had to add some extra code to the search module to stop it searching Albums (which I had hidden for a particular client with FEU). But I guess this more to do with future News and wether active or not or at least triggering active for stuff that is current or past?

Russ
Well, I was in 2.8.2.

I just upgraded in 2.8.3, but another matter appears : my article which is supposed to be posted on september 17 (in 2 days) appears. I would like articles to be posted on the date I want, even if I'm not there to post them. Is it possible ?
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Search module and RSS feed show hidden articles

Post by Russ »

So this is now a news Module issue? If so perhaps you'd better repost under that?
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Search module and RSS feed show hidden articles

Post by dam »

Russ wrote: So this is now a news Module issue? If so perhaps you'd better repost under that?
Well, it's done. Sorry for the mistake
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: News module shows future articles

Post by Russ »

No problems dam, just you might get a better response if it a problem with a core module ;-)
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: News module shows future articles

Post by Nullig »

Is the "Start Date:" in the future? or the "Post Date:"? or both?

Nullig
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: News module shows future articles

Post by dam »

Nullig wrote: Is the "Start Date:" in the future? or the "Post Date:"? or both?

Nullig
It's the "post date": I don't use expiration date, because I don't want my articles to expire : I just need to publish them in 2 or 3 weeks automatically.

I naively thought that "post date" was supposed to do that, but if it doesn't, I think that "post date" and "start date" are redundant, aren't they ?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News module shows future articles

Post by RonnyK »

Postdate and startdate arent redundant.....

Postdate is the date that is showing as the date the entry was created...

Without expiration set, every "active" entry will show...

With expiration set, only entries that are inside the start/end date frame are shown..

In your case, with a scheduled showing of the entries, you should use expiration, you could however set the expiration date to be far from today....

Ronny
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: News module shows future articles

Post by jmcgin51 »

This should be documented in the News module Help.
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: News module shows future articles

Post by dam »

RonnyK wrote: Postdate and startdate arent redundant.....

Postdate is the date that is showing as the date the entry was created...

Without expiration set, every "active" entry will show...

With expiration set, only entries that are inside the start/end date frame are shown..

In your case, with a scheduled showing of the entries, you should use expiration, you could however set the expiration date to be far from today....

Ronny
Thank you for your explanations.
If I understand well, Postdate is just the date that is shown to readers. Nothing to do with the actual date of publication, isn't it ?

Well, I will try to use startdate, even if I really don't like to use an enddate, even far in the future.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News module shows future articles

Post by RonnyK »

Dam,

correct, the postdate is just the date that is showing in the entry as the date-of-the-entry...

So only with 'use expiration' set, will the other 2 dates become relevant...

Ronny
Post Reply

Return to “Modules/Add-Ons”