This happens because the preview window is an iframe which shows the atual page from the site. If it unpublished then it will not show.
A workaround to this is to have a staging folder set up which is unpublished and then create the document, set it as published with the parent as the unpublished staging folder. Then once your edits are complete change the parent of the document to where the actual location will be.
That was fast. Thanks breezer.
Raavi.
There shouldn’t be any error in the preview window even when the document is unpublished. If you are logged in to the manager, you should see all documents in the preview, no matter are they unpublished or published.
There’s something going on with your modx installation..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
my apologies Raavi, I made an assumption based on prior knowledge... I did not mean to lead you astray so from now on I won’t post unless I’m pretty sure I know what I’m talking about...
Thanks dazze. Seems to work.
Raavi