Go back to mobile site

 

Please note: The forums are currently intended for Kentico community. Although we monitor them time to time, we cannot guarantee a timely response. If you need a help with Kentico CMS, please feel free to send your message to support@kentico.com.

If you want to add new post or reply to post, please sign in.

Search: 

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
Kentico
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.

1

Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS