Copied to clipboard

Flag this post as spam?

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

  • Neil Campbell 58 posts 182 karma points
    Mar 26, 2010 @ 08:02
    Neil Campbell

    Bug when adding as a Member Type Property

    Love the package, it's fantastic!

    There is just a small bug when using this control as a property on a member type.
    The tree menu for selecting media items doesn't display, as treeMultiPickerDataEditor.cs is trying to load the control /members/treeMultiPickerInit.aspx (obviously does not exist).

    To fix this, you just need to modify line 355 of treeMultiPickerDataEditor.cs to be as below:

    string treeInitUrl = getInitUrl(string.Format("{0}/treeMultiPickerInit.aspx", umbraco.GlobalSettings.Path), parentNodeId, tt, false, true,, tt, parentNodeId.ToString(), "parent." + this.ClientID + "_TMP.TreeNodeClick");

    After that is fixed the preview panel doesn't render correctly either, so a modification to treeMultiPicker.js on line 43 is required.

    jQuery("#" + this._tblNodesID + " tr:last td.tmpNode").load("/umbraco/treeMultiPickerNode.aspx?rnd=" + Math.random() + "&treeType=" + this._treeType + "&id=" + nodeID);

    I am using version 0.6.1 of Tree Multi Picker and Version 4.0.3 of Umbraco.



  • Marco Lusini 176 posts 1370 karma points
    Mar 31, 2010 @ 14:33
    Marco Lusini

    Thanks for your suggestion, I'll try and include your fix in the next version.

  • Marco Lusini 176 posts 1370 karma points
    Mar 31, 2010 @ 14:38
    Marco Lusini

    P.S. : Neil, if you like this package, don't forget to vote for it :)

Please Sign in or register to post replies

Write your reply to: