Copied to clipboard

Flag this post as spam?

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


  • Niels Henriksen 15 posts 35 karma points
    Nov 21, 2012 @ 23:53
    Niels Henriksen
    0

    Extend backend menu

    Since 4.8 its possible to use  [Application("myApp", "My App", "myapp.gif")] and [Tree("myApp", "myTree", "My Tree")] to build the backend menu without using database or config file. But are there any working example on how to use it?

  • Thomas 13 posts 43 karma points
    Nov 22, 2012 @ 15:37
    Thomas
    0

    I'm wondering the same, I can't find this anywhere!

    I found the following blog post: http://blog.mattbrailsford.com/2012/07/18/creating-custom-applications-and-trees-in-umbraco-4-8/

    But when I add a class 

    [Application("myApp", "My App", "myapp.gif")]
    public class MyApplicationName : IApplication

    It throws an error on Application saying: "Cannot resolve symbol 'Application'" 

    Any suggestions?

  • Niels Henriksen 15 posts 35 karma points
    Nov 22, 2012 @ 15:59
    Niels Henriksen
    0

    You need to add a reference to a dll but I cant remember what right now. I did manage to make it work but I will clean up my code and try to make it more clear on how to do.

  • Thomas 13 posts 43 karma points
    Nov 22, 2012 @ 16:02
    Thomas
    0

    Visual Studio found a reference to set to "IApplication", but not to "Application". I appreciate the help. :)

Please Sign in or register to post replies

Write your reply to:

Draft