I’ve been thinking quite a bit about the published date (the date that a document actually is published, not the date that it’s scheduled to be published), because it’s very important to me, and that particular feature doesn’t seem to be working quite as it should in the current version.
Wouldn’t the simplest solution be this? Whenever the document is published, the current timestamp is placed the the pub_date field? I know that this field is for scheduled publishing, but if you are manually publishing the document, it’s pretty obvious that you don’t need this field for that purpose. So this field could be used for both purposes equally without any conflict. I think that’s the way that some other solutions treat these two needs.
Currently, I’m not sure what indicates the published date, if anything. I used to think that the "publishedby" field did. I know that doesn’t make sense, and it didn’t to me either. That field should be used to indicate
who published the document, not
when. But I spotted a couple of timestamps in those fields one day as I was perusing the DB, so I started using its value in my templates. Later however, it didn’t seem to be working consistently. Now I’m not even sure it ever worked. These days, the only time it seems to work is when I change the publishedby date using my modification of the Edit Doc Dates module.
Anyhow, I would just really like to see this working soon. I could fix it myself, but then whatever I did would probably be undone by the next version of MODx, and I really want to keep the technology in my CMS up to date, so I’ve decided to leave it alone.
Thanks for the listen.