Copied to clipboard

Flag this post as spam?

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


  • K.Garrein 162 posts 626 karma points
    Sep 29, 2015 @ 10:26
    K.Garrein
    0

    How to use cshtml pages in backoffice custom tree

    I found some tutorials on how to create a custom tree and use AngularJS for the editing pages. However, I'm not comfortable with AngularJS and I would like to use MVC/cshtml pages for my custom backoffice pages.

    I have not been able to figure out how to actually do that... is it possible in Umbraco 7?

    I was able to create a custom controller ( /test/ ) that's rendering a cshtml testpage. But I don't seem to be able to use this page in my custom tree:

    item = this.CreateTreeNode( "myid", parentid, querystrings, "test", "icon-umb-members", false, "/test" );
    

    When I click on the test tree item, I just get redirected to the Umbraco backoffice start page...

    Any ideas on how to do this?

    Thank you. K.

  • 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