Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Get document type based documents show up in menu View modes: 
User avatar
Member
Member
Randar Puust - 5/4/2009 8:35:22 PM
   
Get document type based documents show up in menu
I've created a set of pages based on what I've learnt in the tutorial. But I can' t figure out how to get a document based on anything but "Page (menu item)" to show up in the cmsmenu.

In my case, I've got something called a Golf Course, which I would like to show in the menu, but this could apply to the Blog as well. Essentially, I want the cmsmenu to show anything that is in the root folder.

I've tried:
-"Show in navigation" and "Show in sitemap" on the menu tab
-Changing "Behaves as Page (menu item)" in the document type.

I'm assuming there is some way. Suggestions?

User avatar
Member
Member
Jagr - 5/5/2009 3:19:27 AM
   
RE:Get document type based documents show up in menu
Hi Randar,

In Properties window of the cmsmenu, find Content filter section, and there you will find "Document types" property. Just select which document types you would like to filter and the problem will be solved.

Cheers

User avatar
Member
Member
Randar Puust - 5/5/2009 10:49:52 AM
   
RE:Get document type based documents show up in menu
Thanks Jagr, that worked.

I guess there is no way to say all content? The documentation says you have to put each document type in, but doesn't say if there is a way to do CMS.* or something like that.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/7/2009 10:18:44 AM
   
RE:Get document type based documents show up in menu
Hello.

Well, the behavior of "Document types" property (or ClassNames in ASPX Templates) is, generally, that if this property is empty, then web part shows all document types under appropriate Path (so something like cms.* as you mentioned :-).

But for cmsmenu, if this property is blank, it shows only "page (menu item)" document type. So in this case, you need to specify what else document types will be shown.

Best Regards,
Radek Macalik