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 162 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 162 karma points
    Mar 12, 2018 @ 12:24
    Jhon
    0

    Can you please help me?

  • Steve Morgan 1348 posts 4457 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 162 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 1348 posts 4457 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.

Please Sign in or register to post replies

Write your reply to:

Draft