Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8907

How to get a list of sibling pages in Kentico

$
0
0
We have a MVC application that uses Kentico CMS. How can I retrieve sibling pages and child pages from a given node in content tree? Say for instance content tree looks like/ ---Breads -----Foo Bread ----------Recipe X ----------Nutrition A ---Cookies -----Bar Cookie ----------Recipe Y ----------Nutrition B -----Foo Cookie When visitor is on Nutrition A page they should see Recipe X on side barWhen user is on Recipe Y page, they should see Nutrition B on side barIf they're on Cookies page, they should see Bar Cookie and Foo Cookie on the side bar and so on.Some examples I found use macros and I don't think I can make use of that in MVC.

Viewing all articles
Browse latest Browse all 8907

Trending Articles