We have recently upgraded our Umbraco site to 7.2 and it comes with the new preview functionality (different browser sizes for different versions). However, our current site has a unique JavaScript browse mechanic and the preview function is breaking this.
Is there a way to revert to the previous preview method?
Well, disabling the js at preview defies the entire point of preview. The customer would like to preview the page in it's entirety before publishing it live.
I agree with you to a point. The 7.2 had important security and performance updates which are recommended, however the preview functionality is not ideal. The previous method of preview was far less obtrusive. It simply overplayed a bade and gave an accurate reflection of the content. Hosting it in an iFrame is not ideal for all scenarios. There should be a simple means for disabling this, otherwise we have have gone back in functionality. Is there a setting to revert this?
Preview functionality in 7.2+ - How to remove it?
Hi there,
We have recently upgraded our Umbraco site to 7.2 and it comes with the new preview functionality (different browser sizes for different versions). However, our current site has a unique JavaScript browse mechanic and the preview function is breaking this.
Is there a way to revert to the previous preview method?
Regards
Gordon
Hi Gordon,
You can disable your custom js at preview mode, try to check Request.UrlReferrer.
Do you want to revert only preview method ?
It's not recommended way to use one part of code form one Umbraco version and another from another.
Thanks
Hi Alex,
Well, disabling the js at preview defies the entire point of preview. The customer would like to preview the page in it's entirety before publishing it live.
I agree with you to a point. The 7.2 had important security and performance updates which are recommended, however the preview functionality is not ideal. The previous method of preview was far less obtrusive. It simply overplayed a bade and gave an accurate reflection of the content. Hosting it in an iFrame is not ideal for all scenarios. There should be a simple means for disabling this, otherwise we have have gone back in functionality. Is there a setting to revert this?
Regards
Gordon
Gordon, so you have 2 ways ))
1) Revert all changes to Umbraco 7.1.9
2) Revert only preview functionality. But this is hack ))
Thanks
is working on a reply...