Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 581 posts 1385 karma points
    Oct 02, 2014 @ 11:31
    Sebastian Dammark
    0

    Suppert for $currentpage, $parent, $ancestor ?

    Hi Tim

    Does the package support $currentpage, $parent, $ancestor and the like ?

    When I type 'descendant::Something' in the xpath setting I get Something for the entire site.

    Can I somehow set from where it should start ?

    This is very helpful when you're doing multilingual sites doing it like this:

    $ancestor::Language/descendant::Something[@isDoc]

    Otherwise, the package works as intended. :)

  • timgrove 28 posts 61 karma points
    Oct 03, 2014 @ 17:11
    timgrove
    0

    Unfortunately, no, it doesn't support that. I'm using the UmbracoHelper.TypedContentAtXPath() to execute the xpath. That would be helpful though, as I've done a bunch of multilingual sites too. I'll take a peek when I have time to see what I can do.

  • Yoni Cohen 11 posts 71 karma points
    Oct 28, 2014 @ 09:54
    Yoni Cohen
    0

    Hi, any news about adding the $site, $root ...?

    It is very important for language sites.

  • timgrove 28 posts 61 karma points
    Nov 03, 2014 @ 16:32
    timgrove
    0

    Sorry, I haven't got to it yet, very busy on a couple of projects at the moment. I'll try to get to it in the coming weeks.

    You're more than welcome to the src or do a pull request, if you need it quicker: https://github.com/NorthernGround/uContentDropdown

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Dec 05, 2014 @ 13:09
    Hendy Racher
    0

    Hi, as an alternative, you could use the XML DropDown Picker in nuPickers which supports $currentPage / $ancestorOrSelf

Please Sign in or register to post replies

Write your reply to:

Draft