Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > News Lister View modes: 
User avatar
Member
Member
christopher - 10/25/2009 10:44:04 PM
   
News Lister
I'm new to Kentico, and was tasked recently to port over a current site using this CMS.

I need to display a news lister (I suppose I should call it a repeater). News items are of three types:
1. links to external sites (opens in a new window)
2. links to local PDFs (opens in a new window)
3. links to local videos (open up using a third-party lightbox script)

What would be the best way to create such a lister? Would I create a new document type or can I use the news lister and categories? Can I use conditionals to display all three types in one lister?

Any help would be greatly appreciated!

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 11/4/2009 5:02:38 AM
   
RE:News Lister
Hi Christopher,

You can create new document type for each type of news and then specify all three document types in CMSRepeater to display them in one list. You can select multiple document types in 'Document types' property if you use Portal engine. If you use ASPX templates, you can specify list of class names of appropriate document types into 'ClassNames' property of CMSRepeater. You can separate class names by semicolon (;).

Best Regards,

Martin Dobsicek