AutoPublish Date Question

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 30, 2009   (RSS)

By InHouse - January 29, 2009

Just ran into an odd situation on a very stable install of 1.22.

At the start of this year, I changed the publish date field settings in a Section Editor to start the list in 2009 instead of 2008. Everything had been working great previously.

Since that edit, even with the neverRemove option checked, the article start date is being sensitive to the publish date settings. i.e. with the start date set to later than today, the article is not published to the site.

I was under the impression that the neverRemove option overrides both auto start and end dates. I am wrong in this?

If I'm not, any idea on what might be triggering this behaviour?

Cheers,
J.

Re: [InHouse] AutoPublish Date Question

By Dave - January 30, 2009

Hi J,

No the neverRemove checkbox just affects the removeDate. So you need to have a startDate that is before the current time for the article to display. A couple options and some more info:

- If you don't need startDate at all you can just remove that field. Articles will display until the removeDate is reached.

- If you remove 2008 from the date pulldown list and then edit an article with a start date in 2008 it won't have that value to select and will likely default to 2009 (the first value is the default) making that article disappear on save. You probably want to have your year date range be wide enough to accommodate all the current dates in the database.

- If you're off by a few hours you can check your timezone is set correctly under: Admin > Regional Settings

Hope that helps! Let me know if you have any more questions about any of that.
Dave Edis - Senior Developer
interactivetools.com