Copied to clipboard

Flag this post as spam?

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


  • Matt Painter 5 posts 76 karma points
    Jun 21, 2016 @ 06:04
    Matt Painter
    0

    Filtered content picker

    Hi Tim,

    Brilliant package. Saved my bacon!

    For the content picker user control, it'd be really nice to be able to be able to specify a start node in the field configuration (as per the regular Umbraco content picker configuration).

    What do you think?

    M

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 21, 2016 @ 10:32
    Tim Geyssens
    0

    Thanks :) well you could add your own property field types so a content picker with start node would be a nice option, I've never set the start node but if you look at the sourcecode for the default umbraco contetn picker you should be able to find out how to do it ...

    Here are details on how to add your own property field types to ui-o-matic http://uiomatic.readthedocs.io/en/latest/04.CustomPropertyViews/

  • Matt Painter 5 posts 76 karma points
    Jun 21, 2016 @ 14:51
    Matt Painter
    0

    No worries. We use start nodes quite a bit as we have a structured metadata library section in our content tree – essentially, a library of a large number of different types of data which are shared and aggregated in different ways throughout the site. Start nodes / restriction by content type is handy for this situation where you just want the user to be able to select content of type X from this library.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 21, 2016 @ 14:58
    Tim Geyssens
    0

    Ok I see :) well it would be a nice feature but currently have limited time so I won't be able to dev this but always open to pull requests!

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 21, 2016 @ 15:11
    Tim Geyssens
    0

    But seems it's pretty simple https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/52922-dialogService-define-startnode

    Only downside is that the node id has to be hardcoded so when moving between environments that might be an issue

  • Matt Painter 5 posts 76 karma points
    Jun 22, 2016 @ 01:45
    Matt Painter
    0

    That's a very good point and a naivety in my feature request – hardcoded node ids aren't going to work in anything other than rather limited situations.

    I'll cogitate and if I come up with a solution which I think may be useful for others, I'll create a pull request.

    Thanks!

  • 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