Hide Pending Articles

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jun 29, 2015 9:36 pm
Hi there,

I think this is simple, but I can't get it to work.

I've got a NSP module with a simple custom article format (just time and title) and I'm having an issue.

The website is for a client and it is a local news website, and they want to be able to set a future publish date and hour. I'm using Joomla's core content so it all works like a charm. The problem is that the NSP module will always show the last articles no matter what time it is.

e.g. An article with a publishing start date to 1/Jun/2015 2:00 p.m., will show in the module before 2:00 p.m. and when you click on it, Joomla will give a 404 error.

Thanks in advance,
User avatar
Fresh Boarder

GK User
Mon Jun 29, 2015 10:10 pm
Hello,

Please experiment with different values of the time offset option under the data source tab.
User avatar
Administrator

GK User
Mon Jun 29, 2015 10:31 pm
Thanks for the quick reply.

I'll try that. What makes more sense negative or positive values to test?
User avatar
Fresh Boarder

GK User
Mon Jun 29, 2015 10:49 pm
Please try both, because it depends from a difference between your server and your local time.
User avatar
Administrator

GK User
Mon Jun 29, 2015 10:57 pm
Thank you very much.

Got it to work. My server is here in my country and it should be right but my country (Portugal) has 2 time zones, so I guess my client's server provider messed up the time config.

Anyway, got it to right like a charm with a -1 time offset. Thanks.
User avatar
Fresh Boarder


cron