Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon 21 posts 42 karma points
    Jan 20, 2015 @ 13:17
    Gordon
    0

    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

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Jan 20, 2015 @ 15:49
    Alex Skrypnyk
    0

    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

  • Gordon 21 posts 42 karma points
    Jan 20, 2015 @ 18:03
    Gordon
    0

    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

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Jan 20, 2015 @ 18:31
    Alex Skrypnyk
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft