Copied to clipboard

Flag this post as spam?

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


  • Michael Cleverly 8 posts 28 karma points
    May 22, 2013 @ 10:32
    Michael Cleverly
    0

    Umbraco 6 MVC4 Plugin

    Hi.

    I’m having an issue that I need some help for. I’m trying to make an MVC4 plugin for Umbraco 6.0 that enables me to  use my own controllers and views, inside an umbraco template – also using custom routes. I tried following http://our.umbraco.org/documentation/Reference/Mvc/surface-controllers to the bone, but without any luck. I can’t seem to be able to load my own views into the body of the Umbraco template.

    If anyone has succeeded with anything similar to this – can you post your solution, or give me a hint to whereas you found a suitable guide? Since I’ve been at this for days – a step by step guide would be great.

    Thank you in advance, and have a great day.

  • Ben Haynie 20 posts 50 karma points
    May 22, 2013 @ 16:25
    Ben Haynie
    0

    Michael,

    Hopefully this topic will help out.

    It has the full code for creating a Surface Controller plugin, the view, and at the bottom of the thread someone helped correct how to call the SurfaceController and View correctly.

     

    http://our.umbraco.org/forum/developers/api-questions/40797-V6-Surface-Controller-Plugin-template-errorNo-route-in-the-route-table-matches-the-supplied-values

  • 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