conference-tutorial-1.0 icon indicating copy to clipboard operation
conference-tutorial-1.0 copied to clipboard

12. Use publish workflow to not show not yet confirmed speakers

Open dbu opened this issue 11 years ago • 0 comments

  • Have your content implement PublishableInterface and/or PublishTimePeriodInterface (already the case for the base Page document)
  • Check cmf_is_published() before displaying content
    • Direct URLs are checked automatically (open a presentation, unpublish it, hit reload and you get a 404)
  • Enable admin extension for controlling publish information (rename publishable on speaker to "Confirmed")
  • Custom publish voter PresentationVoter to not show presentations if no speaker is published (confirmed) yet.

dbu avatar Jan 17 '14 17:01 dbu