THERE IS A NEW PREVIEW IN TOWN: https://gist.github.com/herooutoftime/59eebf7c0bbf1299410c
Up to now MODx lacks a real preview (which shows unsaved changes to a resource). This plugin is a workaround and simulates a preview behavior.
- Create a new resource, call it 'Preview'
- Create a new system setting with key 'previewer.resource_id' and save with above resource ID
- Create a new plugin with below gist and append to 'OnDocFormRender', 'OnWebPageComplete', 'OnBeforeDocFormSave'
- When saving a resource there should either a new pop-up / tab come up with the resource changes viewable in frontend
Please use with caution and test before implementing in a live-system
Is this plugin safe to use on Production environments?