We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1764
    • 680 Posts
    I want to change the core so that when you try to access an unpublished page, it will check if you are an authenticated manager user with rights to the page. If so it should let you view it.

    The question is, do we make it a core feature or create a OnPageUnpublished plugin simirar to OnPageNotFound? If it’s core it will fix the problem with the preview window and unpublished documents. To me it makes sense to be in the core because you should be able to see what a page will look like in the actual site and not just the editor, before you publish it. If we do implement it as a plugin then I think we need to disable the preview window for unpublished docs.

    Sound good?

    P.S. I’m bringing this up now because the next version of QuickEdit will be able to publish/unpublish documents, which doesn’t really work as we stand now.
      • 32963
      • 1,732 Posts
      It should be a Role inside the user Roles screen. Maybe something like "View Unpublished Documents"

      When an unpublished document is been viewed I think the system should insert some form of indicator to let the user know that he/she is viewing an unpublished page.
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 1764
        • 680 Posts
        Quote from: xwisdom at Nov 23, 2005, 09:40 AM

        It should be a Role inside the user Roles screen. Maybe something like "View Unpublished Documents"

        That sounds like a great way to handle it to me.

        Quote from: xwisdom at Nov 23, 2005, 09:40 AM

        When an unpublished document is been viewed I think the system should insert some form of indicator to let the user know that he/she is viewing an unpublished page.

        maybe just adding [UNPUBLISHED] to the <title> tag so as not to mess with the look of the actual page. Menus could be customized to show unpublished pages in a different style also.