Copied to clipboard

Flag this post as spam?

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


  • Faraz Ahmed 13 posts 126 karma points
    Jun 16, 2017 @ 08:05
    Faraz Ahmed
    0

    It is possible to preview changes made in Partial Views, style sheet or templates in umbraco?

    Hi,

    I was wondering if it's possible to preview the pages after we have made changes in the partial views, style sheet or templates before the changes are saved.

    Similar to what we do in the pages which allows us to preview the change first and then we click publish to make the changes visible on the website.

    Any add-on/code customization available of that sort?

    P.S. I intend to keep the replica test version of my umbraco website as a last option.

    Regards, Faraz

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Jun 16, 2017 @ 09:08
    Damiaan
    0

    Hi,

    You can't do this on a production system when you change the files using the backend.

    What we do, we develop on our local machines which makes it possible to preview the website (and changes to files like template partials, css, javascript).

    Does that help?

    Kind regards Damiaan

  • Faraz Ahmed 13 posts 126 karma points
    Jun 16, 2017 @ 09:19
    Faraz Ahmed
    0

    Hello Damiaan,

    I am not changing the files from the backend instead my client is making the changes in the partial views by going into "Settings" section in umbraco which gives the option to make change in the html code.

    They want something similar to the preview option that they have in the CMS frontend pages.

    Regards,

    Faraz

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Jun 16, 2017 @ 09:56
    Damiaan
    0

    Umbraco does not supports this currently.

    What you could do is create a new template and then load this by adding ?altTemplate=nameOfTheNewTemplate to the url.

    It only works for views, not for partials. But if you refer to another partial in the other view, you could make this working.

  • Faraz Ahmed 13 posts 126 karma points
    Jun 16, 2017 @ 10:12
    Faraz Ahmed
    0

    Thank you Damiaan for clearing this out :)

Please Sign in or register to post replies

Write your reply to:

Draft