MODX Community

How can I preview my pages before publishing them?

Hi. I’m not a developer and am new to this forum so go easy :wink:

I’ve read online that there’s a way of previewing modx web pages/resources before publishing them but I’ve not found a way to do that. I saw some information about ‘revisions’ but I’ve not found a way to turn that feature on on our manager.

Can anyone tell me how to achieve ‘previewing’, even if it’s not through the revisioning function?

Many thanks

(Partial Screenshot included in case that helps)

Hi,

You can use the “View” button visible on your screenshot. It can be marked as not published. You will be able to see it before publishing it.

Cheers

Thanks for the response. Although, if I make changes, the changes don’t show on the page when I click ‘view’ unless I save the changes. If I uncheck ‘published’, that takes the page off line I think, which is something I don’t want to do. Sorry if I’m missing something

Ok now I understood your point. Indeed if you unpublish ill, it will become offline.
The only thing I can remember is: dupplicate it, unpublish the duplicated page and make the changes. When all is ok, unpublish the main page, change the friendly url to a different one, and publish the other page with the correct friendly url.

This about replacing one page with another page.
I can’t recon any other way to accomplish what you are trying to do.

I’m not completely clear on what you’re trying to do, but the StageCoach extra will let you make changes to a resource (document) that don’t go live until some future date.

You can make changes and view the staged document as often as you like before the “stage date” when the changes will be applied to the “real” published resource. And you can do this with multiple resources at the same time.

3 Likes

Hey, that’s a pretty cool extra. Nice work! :slight_smile:

@gjw1980 the functionality you’re looking for is not part of modx core but I think Bob’s extra will come close to what you’re trying to accomplish. Apart from this, @jnogueira’s suggestion to duplicate the page while you work on it and replace it when you’re ready to go live is the only way to do it within MODX. You could, of course, create a staging server though. If you happen to be using MODX Cloud this is very quick and easy to do. If you’re not, how difficult it is will depend a lot on your host and your abilities as a server admin.

The MagicPreview extra can show you what a resource looks like, before saving.

Thanks folks. Stagecoach or Magic Preview both sound like they might do the job. I’ll have a look when I get a chance (might be a while) and post back if I need more help. Thanks a lot!