Copied to clipboard

Flag this post as spam?

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


  • David Prothero 23 posts 106 karma points
    Jun 14, 2013 @ 01:01
    David Prothero
    0

    How to make vb (.vbhtml) the default

    When I use the Umbraco interface to create a new Template, I get a .cshtml file. Is there a way to make .vbhtml the default? If I rename the .cshtml file it creates to .vbhtml (and fix the code to be VB syntax), the code no longer displays in the editor window in Umbraco.Thoughts?ThanksDavid

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Jun 14, 2013 @ 10:23
    Dave Woestenborghs
    0

    I can be wrong, but I don't think vbhtml is supported at the moment.

  • David Prothero 23 posts 106 karma points
    Jun 14, 2013 @ 21:11
    David Prothero
    0

    Could be. I cannot find confirmation of that however. And I find various posts indicating it might be supported:

     

    http://blog.pbdesk.com/2011/03/razor-support-in-umbraco-47.html

     

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jun 15, 2013 @ 01:42
    Jeavon Leopold
    0

    I believe that it is suppored (and was mentioned in Shannon's Codegarden 2013 session) however I do not know of a way of making it default when you create a new template. So I would suggest you create a feature request for this on the Umbraco YouTrack at http://issues.umbraco.org then hopefully it will be added as a config setting.

Please Sign in or register to post replies

Write your reply to:

Draft