Copied to clipboard

Flag this post as spam?

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


  • Mustufa Baig 19 posts 41 karma points
    Jan 12, 2011 @ 22:13
    Mustufa Baig
    0

    Custom AppTree class not picked up by umbraco

    asp.net 3.5, iis6, umbraco 4.5.2

    I have exactly followed the umrbaco.tv series of creating custom sections and tree. so the section shows up fine but the app tree does not. Inside the umbracoAppTree table i have used the following:

    treeHandlerAssembly => Common.Web

    treeHandlerType => Common.Web.Umbraco.Extensions.LoadUgc

    I put a break point inside the custom app tree handler class to see whats happening but turns out its not being hit by the umbraco at all. Wondering whats causing it. I also tried treeHandlerType= LoadUgc but that did not work either.

    thanks

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 13, 2011 @ 02:48
    Aaron Powell
    0

    I think that the type of the class is determined by assembly + typeName, so you'll be ending up with Common.Web.Common.Web.Umbraco.Extensions.LoadUgc which isn't a valid type and Umbraco will ignore it.

  • Sean Mooney 131 posts 158 karma points c-trib
    Jan 13, 2011 @ 14:23
    Sean Mooney
    0

    slace is right, your entry should be:

    treeHandlerAssembly => Common.Web

    treeHandlerType => Umbraco.Extensions.LoadUgc

  • 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