ASPX templates
Version 5.x > ASPX templates > CMS.Blog items not showing in CMSListMenu menus. View modes: 
User avatar
Member
Member
Neil Pursey - 8/29/2011 8:08:37 AM
   
CMS.Blog items not showing in CMSListMenu menus.
I have a CMSListMenu control in my aspx template as follows.

<cms:CMSListMenu
ID="CMSListMenu_MainMenu"
runat="server"
DisplayHighlightedItemAsLink="true"
Path="/%"
MaxRelativeLevel="2"
HoverCSSClassName="menu"
FirstItemCssClass="First"
ClassNames="CMS.MenuItem;CMS.Blog"
HighlightAllItemsInPath="true"
OrderBy="NodeOrder DESC"
CheckPermissions="true"
SelectOnlyPublished="true" />

I have a CMS.Blog content type within the content tree that refuses to show in my menu.

The security permissions are fine, the blog is published (tested without Check permissions and select only published)

No Menu Item for the blog appears?????

User avatar
Kentico Support
Kentico Support
kentico_radekm - 8/30/2011 8:35:58 PM
   
RE:CMS.Blog items not showing in CMSListMenu menus.
Hello.

Is given blog page marked as Show in navigation? You can check it in Properties / Menu section for given document in your CMSDesk. Thank you.


Best Regards,
Radek Macalik

User avatar
Member
Member
a.white-webdesignmagic.com - 6/28/2012 1:05:00 AM
   
RE:CMS.Blog items not showing in CMSListMenu menus.
I was having the same problem.

I found you need to add the blog document type (along with the page menu item) to the css list menu's content filter.

Edit the properties of your CSS list menu
Under Content Filter
Document types: CMS.Blog;CMS.MenuItem

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 6/28/2012 1:47:17 AM
   
RE:CMS.Blog items not showing in CMSListMenu menus.
Hello.

Thank you for sharing this information. However, ClassName property in the control is the same like Document types property for a web part. So, if he used ClassNames="CMS.MenuItem;CMS.Blog, it is the same like having Document types: CMS.MenuItem;CMS.Blog

Best Regards,
Radek Macalik