Copied to clipboard

Flag this post as spam?

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


  • Lee 1130 posts 3088 karma points
    Feb 05, 2013 @ 09:30
    Lee
    0

    Custom Tree In 4.7.1.1 Issues

    I am trying to create a custom tree in the developer section. Something I have done a couple of times ages ago, but for some reason it doesn't work now?

    I have created an entry in the umbracoAppTree table and created my class that implements from 'BaseTree'? I have checked the contents of the class against my old trees that work and they are pretty much the same apart from different id's.

    But it just doesn't show up? Have I missed something? Its been ages since I did this

  • Lee 1130 posts 3088 karma points
    Feb 05, 2013 @ 09:47
    Lee
    101

    Fixed this. Maybe just me not understanding how the trees work, this is the problem and how I fixed it. It was a problem with my namespace, this is the full namespace 

    MyAppName.umbraco.plugins.SomeName.AppHelpers

    And in the umbracoAppTree fields I had the following

    treeHandlerAssembly = MyAppName
    treeHandlerType =  MyAppName.umbraco.plugins.SomeName.AppHelpers.LoadMyAppTreeClassName

    But this would not load the tree. To get it to work I needed to remove the first part of my namespace in the treeHandlerType field so I had the following

    treeHandlerAssembly = MyAppName
    treeHandlerType =  umbraco.plugins.SomeName.AppHelpers.LoadMyAppTreeClassName

    And then the Tree kicked to life. Hope this helps someone else.

Please Sign in or register to post replies

Write your reply to:

Draft