"Publish At" doesn't move blog post into year/month/day folders
I would like to automatically schedule blog posts. When I use the "publish at" field, the bog does publish but doesn't move it into the year/month/day folders. Any ideas?
Currently b4u works by taking the createdate instead of the publish date. You could rewrite the aftersave event handler to be an afterpublish event handler that does the moving into datefolders.
Add a file like this one that executes in the Document.AfterPublish instead of Document.New and does the same thing, except you don't use the CreateDateTime but the PublishDateTime.
"Publish At" doesn't move blog post into year/month/day folders
I would like to automatically schedule blog posts. When I use the "publish at" field, the bog does publish but doesn't move it into the year/month/day folders. Any ideas?
Currently b4u works by taking the createdate instead of the publish date. You could rewrite the aftersave event handler to be an afterpublish event handler that does the moving into datefolders.
Can you point me in the right direction to do so?
Get the source for changeset 40819.
Add a file like this one that executes in the Document.AfterPublish instead of Document.New and does the same thing, except you don't use the CreateDateTime but the PublishDateTime.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.