Site structure
Version 4.x > Site structure > Limiting number of items in CMSTree menu View modes: 
User avatar
Member
Member
ruthh - 8/10/2009 10:20:13 AM
   
Limiting number of items in CMSTree menu
Hi

On a new site www.breastcancercorner.org we want to list the most recent 6 articles on the left hand side of the page. Currently we have a CMSTree menu there which only shows documenttype article but there appears no way of restricting this.

If I place a datasource and then a basic repeater and limit it to 6 records then it only shows on the articles page and no other pages. The same if I use an articlelist webpart but this additionally opens the articles in the container where the list is instead of in the main content area.

Please can someone tell me the correct way to list the top articles and have them showing on all pages and opening in the main content area.

Many thanks.

Regards

Ruth

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 8/12/2009 7:11:53 AM
   
RE:Limiting number of items in CMSTree menu
Hi Ruth,

I've checked your site and it seems it behaves like you want... so have you already resolved your issue?

CMSTreeMenu result can be limited only depth-wise (property Maximum Nesting Level).
Number of the returned items is restricted using "Select top N documents" setting in repeater and datalist webparts.

If the article link in the recent articles list is clicked, the particular article page with its page template is opened, so it depends on the page template used for that page (and on repeater's "selected item transformation"), what will be displayed. Something can be achieved using "Hide in subpages" webpart setting etc.. Could you please describe your scenario and problems in more details?
Thank you.

Kind regards,
Zdenek C.