Copied to clipboard

Flag this post as spam?

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


  • Mounhim Tahtahi 41 posts 62 karma points
    Mar 31, 2013 @ 21:58
    Mounhim Tahtahi
    0

    Create a plugin based controller in Umbraco

    How to create a plugin based controller in Umbraco? I have followed the guide onhttps://github.com/Shandem/Umbraco4Docs/blob/4.8.0/Documentation/Reference/Mvc/surface-controllers.md.

    But when browsing to ~/umbraco/areaname/controllername I get a 404. The only way not getting this is removing the plugin attribute. But I want to use the plugin architecture. So what else needs to be done besides the instruction mentioned in the guide.

    The documentation is really awful if you want to get started with Umbraco and MVC.

    By the way I am using Umbraco 6.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 31, 2013 @ 22:37
    Jan Skovgaard
    0

    Hi Mounhim

    I'm not yet that good at the MVC approach and I have only created a surface controller at the v6 upgrade course.

    However I'm curious if you have had a look at the documentation about surface controllers in the documentation section of our here? http://our.umbraco.org/documentation/Reference/Mvc/surface-controllers

    You can see more MVC topics here http://our.umbraco.org/documentation/Reference/Mvc/

    Hope this helps.

    /Jan

     

  • Mounhim Tahtahi 41 posts 62 karma points
    Apr 09, 2013 @ 23:20
    Mounhim Tahtahi
    0

    It worked in the end. Had to use the Surface prefix.

  • 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