We’re creating an online news magazine. We have collections for Issues, Stories, Contributors, and Artwork. Issues are consecutively numbered, and Stories, Contributors, and Artwork entries all carry an issue number that determines the issue with which they’re associated.
To ‘publish’ an issue, we simply make it the ‘active’ issue (a boolean field in the Issue collection). When we do that, the home page automatically redefines itself so that its repeater shows only stories for that issue, and the older stories automatically move to an ‘archive’ page. Meanwhile, our contributor page’s repeater adjusts to show only contributors to the current issue.
However, we have this problem. We don’t want stories or contributors or artwork to show up in searches until we publish the issue to which they belong. But the only way to prevent that is to use each collection’s built-in ‘Published’ / ‘Draft’ functionality. However, if we mark an item as a Draft, we can’t see it as a page in Preview. Pages for draft items don’t even appear as a choice for previewing.
Because some of our dynamic pages are complex, we really want the ability to preview them.
Our best idea is to set the item temporarily to Published, look at it in Preview, and then revert it to Draft. That’s clumsy and inconvenient, and I’m not sure what happens if that page gets indexed while it’s being previewed (will it now show up in searches, even when we ‘un-publish’?).
Does anyone have suggestions for a better way to handle this?