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
I have 3 languages on my site, and i am trying to get links for the navigation.
So from my frontpage, i am trying to get the children of that page. But it asks about something called a predicate?
i am using this:
children = currentPage.AncestorOrSelf<Frontpage>().Children();
how do i use the predicate? I just need the children of the frontpage.
This is from the snippets in the backoffice, it will list all of your child pages under the home node.
https://gist.github.com/amirkhan81/4d2df1b6d0719faae0c69584e24e3a01
i dont see how that helps me. I dont know what the predicate is ?
is working on a reply...
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.
Continue discussion
Get children of page on multi language site
I have 3 languages on my site, and i am trying to get links for the navigation.
So from my frontpage, i am trying to get the children of that page. But it asks about something called a predicate?
i am using this:
how do i use the predicate? I just need the children of the frontpage.
This is from the snippets in the backoffice, it will list all of your child pages under the home node.
https://gist.github.com/amirkhan81/4d2df1b6d0719faae0c69584e24e3a01
i dont see how that helps me. I dont know what the predicate is ?
is working on a reply...
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.