Hi,
my client has many news articles and job articles.
To sort these articles, they created pages/folders with years. The structure looks like this:
Navigation > Articles > News > 2025 > NewsArticles...
Navigation > Articles > Jobs > 2025 > JobArticles...
The category Tag, in the template, is by default showing the parent folder. The parent folder is [2025]
But the client want it to show [News] og [Jobs] as a category.
I think I found the spot, but how to make this grap the grandparent?
sticker += CreateCategorySticker(GetCategory(Dynamicweb.Content.Services.Pages.GetPage(item.GetInteger("ItemPublisher:Item.Field.PageId")).ParentPageId), GetCategoryTheme(GetCategory(Dynamicweb.Content.Services.Pages.GetPage(item.GetInteger("ItemPublisher:Item.Field.PageId")).ParentPageId)));
thanx in advance
..NC
..NC
