Copied to clipboard

Flag this post as spam?

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


  • Jhon 87 posts 161 karma points
    Mar 12, 2018 @ 10:36
    Jhon
    0

    Template

    Hello,

    I am creating template

    enter image description here

    I got the output below .

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "newTemplate.cshtml"; Skaber EU-debat }

    Why is it coming like that?

    The same coding i wrote in live server , It works fine.

    enter image description here

  • Jhon 87 posts 161 karma points
    Mar 12, 2018 @ 12:24
    Jhon
    0

    Can you please help me?

  • Steve Morgan 1278 posts 4216 karma points c-trib
    Mar 12, 2018 @ 12:46
    Steve Morgan
    0

    I'd help - if I understood what you're asking!

    Do you mean the output is you're seeing razor markup in the rendered webpage?

  • Jhon 87 posts 161 karma points
    Mar 12, 2018 @ 12:56
    Jhon
    0

    yes,

    Why is @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "newTemplate.cshtml" coming in the output.

  • Steve Morgan 1278 posts 4216 karma points c-trib
    Mar 12, 2018 @ 13:52
    Steve Morgan
    0

    Hmm.. have you tried reducing the template down line by line to find out what it is?

    I looks like you're

    Also - check the error logs.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies