Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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. :)
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.
Hi, any news about adding the $site, $root ...?
It is very important for language sites.
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
Hi, as an alternative, you could use the XML DropDown Picker in nuPickers which supports $currentPage / $ancestorOrSelf
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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. :)
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.
Hi, any news about adding the $site, $root ...?
It is very important for language sites.
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
Hi, as an alternative, you could use the XML DropDown Picker in nuPickers which supports $currentPage / $ancestorOrSelf
is working on a reply...